Skip to content

Releases: lcdsantos/jQuery-Selectric

Force render direction

22 Aug 20:47
Compare
Choose a tag to compare
  • Added forceRenderAbove and forceRenderBelow option (thanks @SassNinja!) #197

Small fixes

11 Jan 01:51
Compare
Choose a tag to compare
  • Detect item visibility function now correctly shows current highlighted item inside a group.
  • Other small fixes.

Long waited features

24 Sep 02:33
Compare
Choose a tag to compare
  • Added support for "multiple" attribute (thanks @gearsdigital!) #80
  • Added index parameter to onBeforeSelec/onSelect callback #96
  • Added support for label tags. #103
  • Added option to customize select on mobile but retain native dropdown behavior (thanks again @gearsdigital!!) #90
  • Various bug fixes #77 #87 #93 #115 #118 #126

Accessibility

30 Jun 20:09
Compare
Choose a tag to compare

Improvements to keyboard navigation and accessibility.

Increasing code quality

30 Jun 17:31
Compare
Choose a tag to compare

Various changes to the code to be more simple, testable and increase code coverage.
Fixed "Invalid regular expression" error, #111

Options box + viewport

24 Mar 16:23
Compare
Choose a tag to compare

Only render selectric-items at top, if they fit in the viewport, #110

UMD

26 Feb 21:32
Compare
Choose a tag to compare
UMD
  • Wrapped code in UMD (Universal Module Definition) to work with Browserify/Webpack.
  • Added !default to variables in the Sass file.

Add main in package.json

19 Oct 15:18
Compare
Choose a tag to compare

Added "main" property in package.json, to work with browserify/webpack.

Fix Bower

23 Apr 20:39
Compare
Choose a tag to compare
1.9.3

Bump version to fix Bower

Added labelBuilder

07 Apr 13:06
Compare
Choose a tag to compare
  • (#70) Added labelBuilder option. Can be used similarly to optionsItemBuilder:
$('select').selectric({
  labelBuilder: function(currItem) {
    return '<strong><em>' + currItem.text + '</em></strong>';
  }
});