API REFERENCE · OVERLAYS
<dj-tooltip>
Shows tip content next to its trigger on hover/focus. The trigger goes in the default slot, the tip in the content slot. Set open to force it shown.
npm install @dojo-ng/tooltip
import "@dojo-ng/tooltip";
Properties
| Property | Attribute | Type | Default |
|---|---|---|---|
openForce the tooltip open regardless of hover/focus. |
open |
boolean |
false |
orientation |
orientation reflected |
"top""right""bottom""left" |
"top" |
Slots
Default slotcontent
CSS parts
Style these with dj-tooltip::part(name).
content
CSS custom properties
| Property | Default | Description |
|---|---|---|
--dj-tooltip-z-index | 950 | Stacking order of the tooltip. |