+6
-0
lines changedFilter options
+6
-0
lines changed Original file line number Diff line number Diff line change
@@ -484,6 +484,7 @@ Where `<value>` can be (optional):
484
484
| `variant` | String | `null` | Contextual color variant for the popover. |
485
485
| `customClass` | String | `null` | A custom classname to apply to the popover outer wrapper element. |
486
486
| `id` | String | `null` | An ID to use on the popover root element. If none is provided, one will automatically be generated. If you do provide an ID, it _must_ be guaranteed to be unique on the rendered page. |
487
+
| `disabled` | Boolean | `false` | Set to `true` to disable the popover |
487
488
488
489
### Usage
489
490
Original file line number Diff line number Diff line change
@@ -47,6 +47,7 @@ const parseBindings = (bindings, vnode) => /* istanbul ignore next: not easy to
47
47
container: false, // Default of body
48
48
animation: true,
49
49
offset: 0,
50
+
disabled: false,
50
51
id: null,
51
52
html: false,
52
53
delay: getComponentConfig(NAME, 'delay'),
@@ -209,6 +210,7 @@ const applyPopover = (el, bindings, vnode) => {
209
210
offset: config.offset,
210
211
noFade: !config.animation,
211
212
id: config.id,
213
+
disabled: config.disabled,
212
214
html: config.html
213
215
}
214
216
const oldData = el[BV_POPOVER].__bv_prev_data__
Original file line number Diff line number Diff line change
@@ -353,6 +353,7 @@ Where `<value>` can be (optional):
353
353
| `variant` | String | `null` | Contextual color variant for the tooltip. |
354
354
| `customClass` | String | `null` | A custom classname to apply to the tooltip outer wrapper element. |
355
355
| `id` | String | `null` | An ID to use on the tooltip root element. If none is provided, one will automatically be generated. If you do provide an ID, it _must_ be guaranteed to be unique on the rendered page. |
356
+
| `disabled` | Boolean | `false` | Set to `true` to disable the tooltip |
356
357
357
358
### Usage
358
359
Original file line number Diff line number Diff line change
@@ -49,6 +49,7 @@ const parseBindings = (bindings, vnode) => /* istanbul ignore next: not easy to
49
49
offset: 0,
50
50
id: null,
51
51
html: false,
52
+
disabled: false,
52
53
delay: getComponentConfig(NAME, 'delay'),
53
54
boundary: String(getComponentConfig(NAME, 'boundary')),
54
55
boundaryPadding: parseInt(getComponentConfig(NAME, 'boundaryPadding'), 10) || 0,
@@ -203,6 +204,7 @@ const applyTooltip = (el, bindings, vnode) => {
203
204
offset: config.offset,
204
205
noFade: !config.animation,
205
206
id: config.id,
207
+
disabled: config.disabled,
206
208
html: config.html
207
209
}
208
210
const oldData = el[BV_TOOLTIP].__bv_prev_data__
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4