Permalink
Browse files

Accept an HTMLElement as a valid target

for popovers and tooltips
  • Loading branch information...
elghobaty committed Feb 17, 2018
1 parent 3f6a86a commit a375452b1c53a3ecbe91dd417f442cc649355931
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mixins/toolpop.js
@@ -35,7 +35,7 @@ export default {
props: {
target: {
// String ID of element, or element/component reference
type: [String, Object]
type: [String, Object, HTMLElement]
},
delay: {
type: [Number, Object, String],

2 comments on commit a375452

@tmorehouse

This comment has been minimized.

Member

tmorehouse replied Aug 30, 2018

This might break SSR, since HTMLElement doesn't exist in Node.JS

@tmorehouse

This comment has been minimized.

Member

tmorehouse replied Aug 30, 2018

Which is why we used Object in place of HTMLElement

Please sign in to comment.