0.0.1 • Published 8 years ago

angular2-selector v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Angular2 Selector

NPM version NPM downloads MIT License

Angular2 Selector is a native AngularJS 2 directive that transform a simple <select> box into a full html select with typeahead.

Features

  • No-jQuery Required Angular2 Selector is a full native Angular directive, so you can use it without have to include any other library (except AngularJS, of course!).
  • Skinnable You can define a template for the items in the dropdown list and a template for selected items.
  • RTL Support To use it in with any kind of text direction.
  • Remote Resource Loading Fetch your data from an external source and use it in your application.
  • From HTML <option> to JS object Fill your <select> from server-side ad use data-attributes for every option you have, then Angular2 Selector performs for you the conversion to a simple array of objects.
  • Custom Option Creation You can create new options and add them to the list, just by hitting Enter.
  • Keyboard support Move up and down the dropdown list using keyboard arrows. Select highlighted item pressing Enter. Remove last selected item with Del key.
  • Responsive Perfect for use in mobile environments.

Installation

Get Angular2 Selector from npm, bower or git:

  npm install angular2-selector
bower install angular2-selector
  git clone   https://github.com/indrimuska/angular2-selector.git

License

Copyright (c) 2016 Indri Muska. Licensed under the MIT license.