knockout-select / cap3Options
The cap3Options-binding is a drop-down list that can easily be styled for different browsers (IE, Firefox, Chrome). The binding conforms to the API of the original knockout options-binding to support easy migration.
Current Version
0.2.2
Install with bower
bower install knockout-select
Requirements
- Knockout v. 2.3.0
Usage
- require (minified) knockout-select/cap3Options-binding
-
Use as custom binding:
<select data-binding="cap3Options: myOptions, cap3Value: myValue></select>
Examples
-
Example 01
Single selection mode:
-
Example 02
Multi selection mode:
Selected items: -
Example 03
Example of the original options-binding
Your country: -
Example 04
Same as example 3, except the select-box expressed as follows:
You have chosen a country with population .