0.0.2 • Published 10 years ago

ember-cli-select v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

Ember CLI Custom Select

This is an addon for ember-cli to give you a straightforward easy to use select component. ember-select does a lot of magic in the background, so we built this component to clear up some of that magic and make everything very simple and straight forward. It's a simple wrapper for native select objects to make them binding aware. Whenever value changes, it updates the component. Whenever you select a new option, it fires off action.

Example:

{{#custom-select value="bob" action="selectPerson"}}
  {{#custom-option value="fred"}}Fred Flintstone{{/custom-option}}
  {{#custom-option value="bob"}}Bob Newhart{{/custom-option}}
{{/custom-select}}

Installation

  • npm install ember-cli-select

Further Reading / Useful Links