$(document).ready(function() {
var singleSelect = new SlimSelect({
select: '#single'
});
var singleOptGroupSelect = new SlimSelect({
select: '#single-optgroups'
});
var orangeMultiSelect = new SlimSelect({
select: '#multi'
});
var blueMultiSelect = new SlimSelect({
select: '#multiBlue',
placeholder: 'Placeholder Text Here',
// Not case sensitive start of string match
searchFilter: (option, search) => {
return option.text.toLowerCase().substr(0, search.length) === search.toLowerCase()
}
});
});