1
0
mirror of synced 2024-11-30 00:26:03 +03:00
select2/pages/02.configuration/01.initializing/docs.md
2017-09-02 20:34:47 -04:00

306 B

title taxonomy
Initializing
category
docs

To configure custom options, simply pass an object containing all of the options with which you would like to initialize Select2, in your call to .select2():

$('.js-example-basic-single').select2({
  placeholder: 'Select an option'
});