OptionalariaOptionalcontainerAppends the tooltip to a specific element. Useful when the tooltip trigger
is inside a container with overflow: hidden or overflow: scroll that
would otherwise clip the tooltip. Accepts a CSS selector string or DOM
element — 'body' is the most common value.
Default: false (appended adjacent to the trigger element).
OptionaldelaySets the delay between a trigger state occurring and the tooltip appearing on-screen.
Warning: this option may be removed when switching to another tooltip library. Be prepared for this to break in Flarum stable.
Default: 0.
OptionalhtmlWhether HTML content is allowed in the tooltip.
Warning: this is a possible XSS attack vector. This option shouldn't be used wherever possible, and may not work when we migrate to another tooltip library. Be prepared for this to break in Flarum stable.
Default: false.
OptionalignoreUsed to disable the warning for passing text to the title attribute.
Tooltip text should be passed to the text attribute.
OptionalpositionTooltip position around element.
Default: 'top'.
OptionalshowWhether to show on focus.
Default: true.
Tooltip textual content.
String arrays, like those provided by the translator, will be flattened into strings.
OptionaltooltipUse to manually show or hide the tooltip. undefined will show based on cursor events.
Default: undefined.
Accessible name for the child when it differs from the tooltip text.