knockout-select2

select2 knockout intergration


Keywords
knockout, select2, knockout-select2
License
MIT
Install
bower install knockout-select2

Documentation

knockout-select2

select2 handler for knockoutjs

var model = {
	db: ko.observable('Neo4j'),
	dbs: ["Redis", "Datomic", "Neo4j", "MongoDB", "CouchDB"]
};
ko.applyBindings(model);

put select2 after value and options

<select data-bind="value: db, options: dbs, select2: {}"></select>

see it in action