blockly > Tooltip > CustomTooltip
Tooltip.CustomTooltip type
A function that renders custom tooltip UI. 1st parameter: the div element to render content into. 2nd parameter: the element being moused over (i.e., the element for which the tooltip should be shown).
Signature:
export type CustomTooltip = (p1: Element, p2: Element) => any;