Using the <tippy> component doesn't inherit default options set on Vue.use
See original GitHub issueIf I setup default options like this:
Vue.use(VueTippy, {
arrow: true,
theme: 'light',
})
And use the tippy like this:
<tippy>
<template v-slot:trigger>
<div>my trigger</div>
</template>
Tooltip here
</tippy>
The tooltip doesn’t have arrow and is black.
I need to declare it again like this:
<tippy :arrow="true" theme="light">
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Props | Vue.js
The prop is used to pass in an initial value; the child component wants to use it as a local data property afterwards....
Read more >Vue JS Non prop attributes and Disabling Attribute Inheritance
I understand how props works, it is passing data from parent component to child component. Parent.vue <template> <div id="app"> <Child ...
Read more >All Options | VueTippy
Below is a table of all the options you can supply. ... Along with a string or element, you can use a function...
Read more >Smart Styling Of Web Components - JavaScript in Plain English
One of the killer features of Web Components is true encapsulation of styling through Shadow DOM. This means that the internal CSS of...
Read more >useFetch - VueUse
Use explicit import if you want to use the function from VueUse. ... set the method using the options // Request will be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@UteV because its already registered for the browser version
you can use:
https://codepen.io/KABBOUCHI/pen/WNxoNLx
Well, this is strange, maybe something else is causing the bug. I will investigate to get more information on this.
Thank you anyway, I will reach you back soon