@ryanhelsing/ry-ui
Version:
Framework-agnostic, Light DOM web components. CSS is the source of truth.
15 lines (11 loc) • 309 B
Markdown
# Tooltip
## `<ry-tooltip>`
| Attribute | Values | Description |
|-----------|--------|-------------|
| `content` | string | Tooltip text |
| `position` | top \| bottom \| left \| right | Position |
```html
<ry-tooltip content="Save changes" position="top">
<ry-button>Save</ry-button>
</ry-tooltip>
```