ember-gig-select-picker
v1.10.1
Published
A bootstrap 3 compatible select component
Downloads
3
Maintainers
Readme
Ember-cli-select-picker
This is a reinvention of the select view. It is designed to offer a Bootstrap style and function. It is highly inspired from the jQuery plugin bootstrap-select but designed for Ember-CLI apps specifically. It supports single and multiple select. It adds select all/none, and search filtering for multiple selections.
See the demo for examples, usage, and code snippits.
Installation
ember install ember-cli-select-picker
Using
In your templates simply replace the usual {{view "select"}}
with {{select-picker}}
. This addon is implemented as a component since the core Ember team is deprecating views. It is down-grades (read: backwards compatible) to mobile by keeping a select view in sync under the hood.
More options and examples are available on the demo site.
{{select-picker value=myModel.myAttr
content=mySelectContents
optionGroupPath="group"
optionLabelPath="content.label"
optionValuePath="content.value"}}
Running Tests
npm test
- Test with Ember release, beta, and canaryember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.