ng-floating-label
v1.0.1
Published
An HTML input tag wrapped in an Angular component where the placeholder turns into a label above the input text
Downloads
5
Readme
NgFloatingLabel
This library was generated with Angular CLI version 8.2.0.
Code scaffolding
Run ng generate component component-name --project ng-floating-label
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-floating-label
.
Note: Don't forget to add
--project ng-floating-label
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build ng-floating-label
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build ng-floating-label
, go to the dist folder cd dist/ng-floating-label
and run npm publish
.
Running unit tests
Run ng test ng-floating-label
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.