Select component used by Audience Engine ember apps
export default Ember.Controller.extend({
selectedState: null,
unitedStates: [{
id: 1,
text: "Alaska"
},
{
id: 2,
text: "Arizona"
},
{
id: 3,
text: "Arkansas"
},
{
id: 4,
text: "California"
},
{
id: 5,
text: "Colorado"
},
{
id: 6,
text: "Connecticut"
},
...
]
})
This addon also supports working with arrays of strings as options.
export default Ember.Controller.extend({
selectedState: null,
unitedStates: [
"Alaska",
"Arizona",
"Arkansas",
"California",
"Colorado",
"Connecticut",
...
]
})
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/.