ember-select-2

1.3.0 • Public • Published

ember-select-2 Build Status NPM Version NPM Downlaads

Ember.js Wrapper for the jQuery Select2 Plugin. While not aiming for full API coverage at any cost, the actual focus is on providing a plugin that is easy to drop into an application and that plays nice with the ember specific classes.

For Demo & Docs, see the Github Page for this project.

Disclaimer: This is a pretty early release and there may be major bugs. Still, there are several test cases using state-of-the art ember unit testing methods ;)

Including Select2 in your Project

Since ember-cli 0.0.44 (or so...), there is a default way of installing addons. It's easy:

ember install:addon ember-select-2

Since ember-cli 0.2.3 ember install <addon-name> now is the correct way to install an add-on.

ember install ember-select-2

Contributing

I would love to see some support when extending or bugfixing this component! Please keep in mind the agena on the top of this page and discuss possible conflicts with the ember-way of things (bindings, proxies...).

Generating the Docs

After commiting changes in the examples or tests to master, you can run ./make_docs which does several things:

  • Checks out gh-pages and pulls changes from master
  • Builds ember app with github environment
  • Fixes things to make the tests work
  • Commits the generated app and pushes it to github pages
  • Switches back to original branch

Readme

Keywords

Package Sidebar

Install

npm i ember-select-2

Weekly Downloads

471

Version

1.3.0

License

MIT

Last publish

Collaborators

  • istefo