new Customselect(el)
This initialize new Customselect
Parameters:
Name | Type | Description |
---|---|---|
el |
jQuery | jQuery select $('.js-customselect') |
- Source:
Example
<select class="js-customselect">
<option value="0">0</option>
<option value="1">1</option>
...
<option value="x">x</option>
</select>
Methods
init()
This create new tag and append it to the DOM, then wrap original select into it
- Source:
(inner) canStart()
This initialize new Customselect for each $('.js-customselect') element
- Source: