
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
angular-floating-label
Advanced tools
Angular directive creating a "floating label" for inputs with a placeholder. Based on: https://github.com/jverdi/JVFloatLabeledTextField and https://github.com/maman/JVFloat.js
Add the js file to your html file, optionally add the css file as well.
Add components
to your angular dependencies and then just add floating-label
as an attribute on your input fields.
floating-label
requires a placeholder attribute, which will be used as label.
Optionally you can specify an ng-model
, if you don't specify it, you are required to add the id
or the name
attribute.
<html>
<head>
<link rel="stylesheet" type="text/css" href="../dist/floating-label.css">
</head>
<body ng-app="demo">
<form>
<div class="control-group">
<input type="text" placeholder="Email address" floating-label ng-model="test" />
</div>
</form>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-floating-label/dist/floating-label.js"></script>
<script>
angular.module('demo', ['components']);
angular.module('demo').controller('DemoController', function () {});
</script>
</body>
</html>
More examples in the example folder
1.0.1 + 1.0.2
FAQs
Floating label directive for AngularJs
The npm package angular-floating-label receives a total of 28 weekly downloads. As such, angular-floating-label popularity was classified as not popular.
We found that angular-floating-label demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.