Interface

ITooltipConfig

DecafTooltipDirective.ITooltipConfig

Configuration object for the DecafTooltipDirective directive.

Properties:
Name Type Attributes Description
text string

The full text to display inside the tooltip and, when truncated, the source for the truncated visible content.

truncate boolean <optional>

When true, the host element's inner text is replaced with a truncated version. Defaults to false.

limit number <optional>

Maximum number of characters before truncation occurs. Defaults to 30.

trail string <optional>

String appended at the end of the truncated text. Defaults to '...'.

View Source lib/engine/interfaces.ts, line 345