Function popoverTooltip
- popoverTooltip(
node: HTMLElement,
options: TooltipOptions,
): ActionReturn<TooltipOptions> Parameters
- node: HTMLElement
Target element.
- options: TooltipOptions
Tooltip Options.
Returns ActionReturn<TooltipOptions>
Lifecycle functions.
- node: HTMLElement
Provides a popover tooltip action for Foundry that provides a similar set of options as the core
TooltipManager
. A large benefit of this action is that on data changes the data attributes are updated and if the action Node is the same as the current tooltip element the tooltip is activated again providing reactivity.