blockly > Tooltip > TipInfo

Tooltip.TipInfo type

A type which can define a tooltip. Either a string, an object containing a tooltip property, or a function which returns either a string, or another arbitrarily nested function which eventually unwinds to a string.

Signature:

export type TipInfo = string | {
    tooltip: any;
} | (() => TipInfo | string | Function);

References: TipInfo