Tooltip API
API Reference
Properties
| Name | Description | Type | Required | Default value |
|---|---|---|---|---|
| content | The text of the tooltip, it can be HTML content too. | string |
|
- |
| placement | Position of the tooltip relative to the trigger element. | string | top | |
| type | Right now the only type is "helper" which creates a simple box with a question mark. | string | - | |
| has-action | If you want to put link in the content, use this attribute | boolean | false | |
| disabled | If you want to temporally disable the tooltip, use this attribute | boolean | false | |
| inverse | If you want to show the tooltip with dark background color, use this attribute | boolean | false | |
| permission | If you want to show permission information in tooltip, use this attribute | boolean | false |
| Parameter | Value |
|---|---|
| placement | top | bottom | left | right | top-start | top-end | bottom-start | bottom-end | left-start | left-end | right-start | right-end |
| type | helper |
| attribute | has-action | disabled | inverse | block | valign="baseline" |