Usage
Some tooltip message
Positions
top-left
A message rom position top-left
top
A message rom position top
top-right
A message rom position top-right
right-top
A message rom position right-top
right
A message rom position right
right-bottom
A message rom position right-bottom
bottom-left
A message rom position bottom-left
bottom
A message rom position bottom
bottom-right
A message rom position bottom-right
left-top
A message rom position left-top
left
A message rom position left
left-bottom
A message rom position left-bottom
Custom Content
I'm a custom content.
Trigger Methods
Hello, world
Hello, world
Click the left button
Hello, world
CTooltip API
Props
Slots
Events
content
string
| number
Default
''
The popup content.
position
Position
Default
'top'
The popup position.
trigger
"hover"
| "click"
| "manual"
Default
'hover'
The trigger method.
show
boolean
Default
false
The show status of tooltip. Can be used with v-model:show
. And only working when the trigger is 'manual'