Features
- Modularized components. Separates concerns, improves testability, allows development to diverge, and allows code to be shared with other libraries.
- sifter — Filtering and sorting.
- microplugin — Plugin system.
- LESS Stylesheets. With a comprehensive set of variables, skinning is orders of magnitude easier. Furthermore, plugins can take advantage of theme-specific settings.
- Added shims for Bootstrap 2 and Bootstrap 3.
- All build files now live in the "dist" folder.
- New Grunt-based build system.
API
- Added
destroy()
method (#35). - Removed the
"theme"
setting. All it did was add an extra class to the control. If you want the same functionality, just add a class to the<select>
you're selectizing. - Removed the need to pass the value when adding options via
addOption(value, data)
. Now it's simple:addOption(data)
. The value is extracted from the data automatically, according to the"valueField"
setting.