1
0
mirror of synced 2024-11-30 08:36:03 +03:00
select2/pages/03.configuration/docs.md
2017-09-08 14:23:33 -04:00

14 lines
255 B
Markdown

---
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'
});
```