A select component built for Ember.js. Uses Ember Collection to incrementally render large lists of options.
This is a work in progress.
Checkout the demo.
This addon provides an ember-collection-select
component.
Property | Description |
---|---|
content |
Array containing all the options to select from |
selection |
ember-collection-select will set this property to the selection that was made. Usually some property on a model, for example. If multiple is true , then it should be an array. |
rowHeight |
|
multiple |
|
loading |
When true ember-collection-select will show loading span. |
scoreFunction
|
Action | Description |
---|---|
search |
sent when the user types in the input element |
select-item |
sent when the user selects an item (functional equivalent of observing selection property). The selected object is sent as a parameter. When the user deselects the option, parameter is null . |
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.