2.2.2 • Published 7 years ago

ember-ted-select v2.2.2

Weekly downloads
11
License
MIT
Repository
github
Last release
7 years ago

Ember-ted-select

A data down, actions up select component rendered with real DOM elements.Supports disabled options, multi-select, option sorting and custom prompt.

This addon is prepared for internal use at TED. We're happy to share our code as open-source, but be aware that it may not be maintianed for broader community use.

Installation

  • ember install ember-ted-select

Examples

Standard Usage

You'll need to give ted-select an array of options (content), specifying a property to use for both option value and option label. A selection can be passed in (data down) using the selected property, and the add-on will send an onchange action out (actions-up)

{{ted-select
  selectClassNames="form-control"
  content=TEDevents
  optionValueKey="id"
  optionLabelKey="title"
  onchange=(action "update")
  selected=initialSelection
}}

Demo and additional examples

Visit the docs site for demos and more detailed usage examples.

##Configurable options

Running a demo

  • git clone <repository-url> this repository
  • npm install
  • bower install
  • ember serve
  • Visit your app at http://localhost:4200.

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)

or to run a test server while developing:

  • ember test --server

Building

  • ember build

For contributors:

PRs that do not include the following will not be merged:

  • a passing test suite
  • test coverage for your new code
  • updated README docs (if applicable)
  • updated docs and/or examples in the docs site found in tests/dummy (if applicable)

For maintainers:

Updating the GitHub pages docs site

  • ember github-pages:commit --message "update gh-pages"
  • git push origin gh-pages

Creating a new release and publishing to npm

  • npm version $TYPE -m "message about this version" where $TYPE indicates the semver release type, eg. patch, major or minor. see the npm-version docs and (semver docs)http://semver.org/ if you're not sure which applies
  • npm publish
  • git push --tags
  • document the changes by creating a new release

For more information on using ember-cli, visit https://www.ember-cli.com/.

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.2.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago