🌐 AI搜索 & 代理 主页
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/directives/popover/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions src/directives/popover/popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down Expand Up @@ -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__
Expand Down
1 change: 1 addition & 0 deletions src/directives/tooltip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions src/directives/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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__
Expand Down