ember-collection-select
A select component built for Ember.js. Uses Ember Collection to incrementally render large lists of options.
Status
This is a work in progress.
Demo
Checkout the demo.
Usage
This addon provides an ember-collection-select
component.
Properties
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
|
Actions
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 . |
Installation
-
git clone
this repository npm install
bower install
Running
ember server
- Visit your app at http://localhost:4200.
Running Tests
ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.