diff options
| author | Henry Jameson <me@hjkos.com> | 2021-04-07 22:42:34 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-04-07 22:42:34 +0300 |
| commit | 61dcdbf99293de8c8b813ccec2833b190d3f97b2 (patch) | |
| tree | f3c962a2fd8a290e5687135cdf16ec8a794a4076 /src/components/popover/popover.js | |
| parent | 8b96ea93776fd1eb462a7c54822d4f8ad6a9e776 (diff) | |
migrate to v-slot
Diffstat (limited to 'src/components/popover/popover.js')
| -rw-r--r-- | src/components/popover/popover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js index bc6cd8e7..6ccf32f0 100644 --- a/src/components/popover/popover.js +++ b/src/components/popover/popover.js @@ -54,7 +54,7 @@ const Popover = { } // Popover will be anchored around this element, trigger ref is the container, so - // its children are what are inside the slot. Expect only one slot="trigger". + // its children are what are inside the slot. Expect only one v-slot:trigger. const anchorEl = (this.$refs.trigger && this.$refs.trigger.children[0]) || this.$el // SVGs don't have offsetWidth/Height, use fallback const anchorWidth = anchorEl.offsetWidth || anchorEl.clientWidth |
