getDecorationToolTip MethodOptional

If Decorator.testDecorationHit returned true, implement this method to return the tooltip message for this Decorator.

getDecorationToolTip(hit: HitDetail): Promise<HTMLElement | string>

Parameter Type Description
hit HitDetail The HitDetail about the decoration that was picked.

Returns - A promise with the HTMLElement or string (that may contain HTML) with the tooltip message.

Defined in

Last Updated: 08 January, 2020