You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pages of components with target property state String or HTMLElement or SVGElement or Function or Object as valid target but there are no examples given besides the option for String in the docs. Would be great to see examples how to access a target by HTMLElement or SVGElement or Function or Object in Vue.
Thank you.
The text was updated successfully, but these errors were encountered:
There's actually an example of using a function (sort of).
The last <b-tooltip> in this snippet, uses both a shorthand function and a ref to return a HTMLElement.
But i agree, that maybe a dedicated section to various ways to target could be beneficial, besides a string with the ID of an element.
Note that $refs can actually return different types.
If it's placed on a b-btn it will return a HTMLElement, if you place it on a b-datepicker it will return an Object and if you place it on a b-icon it will return a SVGElement.
So in the codepen, all these types should be covered.
Uh oh!
There was an error while loading. Please reload this page.
Documentation issue
Specific page of the documentation:
Tooltips and everything with a target property
Additional context or description
The pages of components with target property state
String or HTMLElement or SVGElement or Function or Object
as valid target but there are no examples given besides the option forString
in the docs. Would be great to see examples how to access a target byHTMLElement or SVGElement or Function or Object
in Vue.Thank you.
The text was updated successfully, but these errors were encountered: