Skip to content

Select.js v0.2.0 - New binding settings, button support, and fixes!

Choose a tag to compare

@williamtroup williamtroup released this 08 Dec 20:47
· 72 commits to main since this release
f579a70

Library:

  • Added full Bootstrap support!

Binding Options:

  • Added a new binding option "dropDownShowDelay" (defaults to 50), which states the millisecond that it should wait before showing the drop-down menu.
  • Added a new binding option "showDropDownButton" (defaults to true), which states if an opening/closing button should be used for showing the drop-down menu.
  • Added a new binding option "noItemsSelectedText" (defaults to "There are no items selected"), which states the message to show when no items are selected.

Binding Options - Custom Triggers:

  • The binding option custom trigger "onSelectedItemsChanged" now has all the values selected passed to it.

General Improvements:

  • Internal cleanups to make passing DOM element objects around a bit easier.
  • Adding new testing files to verify with Bootstrap.

Fixes:

  • Fixed a fault that caused the drop-down menu to remain open when clicking in the main control again.
  • Fixed missing scrolling support for the drop-down menu.