GitHunt
IN

indrimuska/angular2-selector

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

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.

Languages

CSS83.2%JavaScript16.8%

Contributors

Latest Release

0.0.1October 27, 2016
MIT License
Created October 27, 2016
Updated September 15, 2017
indrimuska/angular2-selector | GitHunt