Tooltip
Hover-triggered text tooltip with four placements.
Basic Usage
vue
<template>
<MTooltip content="This is a tooltip">
<button>Hover me</button>
</MTooltip>
</template>Placement
Props
| Name | Type | Default | Description |
|---|---|---|---|
| content | string | - | Tooltip text |
| placement | 'top' | 'bottom' | 'left' | 'right' | 'top' | Placement |
| disabled | boolean | false | Disable tooltip |
Slots
| Name | Description |
|---|---|
| default | Trigger element |