Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
addon
app Refactor to ember-cli-addon! Oct 11, 2014
blueprints Fix select2 version to latest on 3.x branch (#91) May 5, 2015
config
tests
vendor
.bowerrc Upgrade to ember-cli 0.1.1 (not npm install ready yet!) Oct 11, 2014
.editorconfig
.ember-cli
.gitignore
.jshintrc Push to 1.3.0, upgrade to ember-cli 0.2.3 May 5, 2015
.npmignore
.travis.yml
Brocfile.js
CHANGELOG.md
LICENSE
README.md
bower.json
index.js make select-2 assets optional Mar 23, 2015
make_docs
package.json
testem.json

README.md

DEPRECATION NOTICE

For several reasons, mainly the lack of time for maintaining this project but also the difficulties of integrating a complex jQuery plugin into the Ember environment with all its implications, this addon should be avoided when starting new Ember applications. Please consider using https://github.com/cibernox/ember-power-select or an alternative select component instead.

This addon will stay available for download and I will accept contributions from the community, but please don't expect major releases or active contributions from my side. -- Stefan

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.

Including Select2 in your Project

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