Initial commit
This commit is contained in:
13
public/assets/vendor/select2-4.1.0-rc.0/docs/pages/03.configuration/docs.md
vendored
Executable file
13
public/assets/vendor/select2-4.1.0-rc.0/docs/pages/03.configuration/docs.md
vendored
Executable file
@ -0,0 +1,13 @@
|
||||
---
|
||||
title: Configuration
|
||||
taxonomy:
|
||||
category: docs
|
||||
---
|
||||
|
||||
To configure custom options when you initialize Select2, simply pass an object in your call to `.select2()`:
|
||||
|
||||
```
|
||||
$('.js-example-basic-single').select2({
|
||||
placeholder: 'Select an option'
|
||||
});
|
||||
```
|
||||
Reference in New Issue
Block a user