ng-input
Text Input Effects Directives
ng-input is a fork from codrops - Text Input Effects, to work with angular directives.
Demo
Install
bower
Install using bower install ng-input
npm
Install using npm install ng-input
Usage
Include the ngInput
as a dependency for your app.
angular;
add the directive to your html.
Base Styles
To make it work as the demo page, there is some css properties that you should include.
and for bigger
Options
- theme
- type
- label
- color
- icon
default attributes from default angular input directive
- name
- ng-model
- ng-required
- ng-minlength
- ng-maxlength
- ng-pattern
- ng-change
- ng-trim
Icons
The examples are using material design icons, you should declare icon icon--theme mdi mdi-account
to make it work.
``` # Themes ### Our Themes > TODO ### [Codrops Themes](http://tympanus.net/Development/TextInputEffects/) - Haruki- Hoshi- Kuro- Jiro- Minoru- Yoko- Hideo- Kyo- Akira- Ichiro- Juro- Madoka- Kaede- Isao- Manami- Nariko- Nao- Yoshiko- Shoko- Chisato- Makiko- Sae- Kozakura- Fumi- Ruri- Kohana # Contributing Feel free to add your own style. 1. Fork it!2. Create your feature branch: git checkout -b my-new-feature3. Commit your changes: git commit -m 'Add some feature'4. Push to the branch: git push origin my-new-feature5. Submit a pull request # Credits Credit goes to [codrops](http://tympanus.net/codrops/) for an **AWESOME** work with [Text Input Effects](https://github.com/codrops/TextInputEffects) [check their article](http://tympanus.net/codrops/2015/01/08/inspiration-text-input-effects/) # License [LICENSE](./LICENSE)