17 lines
316 B
Markdown
17 lines
316 B
Markdown
![]() |
---
|
||
|
title: boolean
|
||
|
---
|
||
|
|
||
|
If your option is either `true` or `false`, or **on** or **off** or **yes** or **no**, you can use a boolean:
|
||
|
|
||
|
Your boolean option should be an object with these properties:
|
||
|
|
||
|
- `bool` : Either `true` or `false` which will be the default
|
||
|
|
||
|
```js
|
||
|
options: {
|
||
|
withLining: { bool: true }
|
||
|
}
|
||
|
```
|
||
|
|