Component

Tooltip as component

Can coffee make you a better developer?

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil.

Timer: 0

<tippy  to="tippy01" 
        @init="onTippyInit"
        @hidden="onHidden" 
        interactive="true" 
        theme="light" 
        :distance="20"
        watch-props="true"
>
    <div>
        Can coffee make you a better developer?
    </div>
    <p>
        Lorem ipsum dolor sit amet, consectetur adipisicing elit.
        Voluptatibus quia, nulla! 
        Maiores et perferendis eaque, exercitationem praesentium nihil.
    </p>
    
    <p> Timer:  { { timer } }  </p> 
    
    <button @click="timer +=3"> 
        Increase
    </button>   

</tippy>

<button name="tippy01">
    Click Me
</button>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28