Created
September 28, 2018 10:29
-
-
Save nickciolpan/08634c24365c3bd492a627a6f749e8ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I'm keeping .class and $selector separated for edge cases in which dom-content is dynamic and can't be cached. | |
const $multiSelect = $('.js-multiselect'), | |
defaults = { | |
buttonClass: 'btn btn-default', | |
buttonWidth: '100%', | |
nonSelectedText: '---', | |
nSelectedText: ' selected', | |
allSelectedText: 'All', | |
includeSelectAllOption: false, | |
numberDisplayed: 1, | |
enableFiltering: false, | |
enableCaseInsensitiveFiltering: false | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment