Skip to content
Permalink
Browse files

fix(v-b-tooltip, v-b-popover): add missing `disabled` config option (#…

  • Loading branch information...
tmorehouse committed Sep 9, 2019
1 parent 5df3227 commit f488dc1e6c8aab7ba43fce9805f6f5bccd6419c3
@@ -484,6 +484,7 @@ Where `<value>` can be (optional):
| `variant` | String | `null` | Contextual color variant for the popover. |
| `customClass` | String | `null` | A custom classname to apply to the popover outer wrapper element. |
| `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. |
| `disabled` | Boolean | `false` | Set to `true` to disable the popover |

### Usage

@@ -47,6 +47,7 @@ const parseBindings = (bindings, vnode) => /* istanbul ignore next: not easy to
container: false, // Default of body
animation: true,
offset: 0,
disabled: false,
id: null,
html: false,
delay: getComponentConfig(NAME, 'delay'),
@@ -209,6 +210,7 @@ const applyPopover = (el, bindings, vnode) => {
offset: config.offset,
noFade: !config.animation,
id: config.id,
disabled: config.disabled,
html: config.html
}
const oldData = el[BV_POPOVER].__bv_prev_data__
@@ -353,6 +353,7 @@ Where `<value>` can be (optional):
| `variant` | String | `null` | Contextual color variant for the tooltip. |
| `customClass` | String | `null` | A custom classname to apply to the tooltip outer wrapper element. |
| `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. |
| `disabled` | Boolean | `false` | Set to `true` to disable the tooltip |

### Usage

@@ -49,6 +49,7 @@ const parseBindings = (bindings, vnode) => /* istanbul ignore next: not easy to
offset: 0,
id: null,
html: false,
disabled: false,
delay: getComponentConfig(NAME, 'delay'),
boundary: String(getComponentConfig(NAME, 'boundary')),
boundaryPadding: parseInt(getComponentConfig(NAME, 'boundaryPadding'), 10) || 0,
@@ -203,6 +204,7 @@ const applyTooltip = (el, bindings, vnode) => {
offset: config.offset,
noFade: !config.animation,
id: config.id,
disabled: config.disabled,
html: config.html
}
const oldData = el[BV_TOOLTIP].__bv_prev_data__

0 comments on commit f488dc1

Please sign in to comment.
You can’t perform that action at this time.