This directive allows your inputs to grow as soon as user types. The input's width always fit the text user typed in the input.
Open samples/index.html to see the examples how to use this directive.
Installation
-
Run bower install angular-select-items --save
or add manually into your bower.json dependencies and run bower-install
or download ZIP from github and extract files in the case if you don't use bower
-
Include
bower_components/angular-select-items/dist/angular-select-items.js
andbower_components/angular-select-items/dist/angular-select-items.css
in yourindex.html
file -
Add a new dependency module in your
angular.module('yourApp', ['selectItems', ...])
How to use it
TODO-s (for contributors):
* refactor some parts of code and make it easier to understand and maintain
* better documentation and more examples if possible
* cover sources with unit-tests
* research in performance optimizations
* search for bugs and fix them
* star this project and get people to know about this plugin in angular community