Skip to main content

tooltipInfo

Type: function(object)
Returns: string

Tooltip info

A function whose result will be displayed as extra information on the cursor tooltip.

Can be formatted using a simple BBCode format:

  • [b]bold[/b] - Applies a bold styling.
  • [i]italic[/i] - Applies an italic styling.
  • [pre]preformatted[/pre] - Applies an fixed-width styling with pre white spacing.
  • [br/] - Inserts a break line.

The code for the image above would be the following:

caution

tooltipInfo is triggered for all objects, including sections. You can use object.objectType to distinguish between object types (e.g. to implement a specific tooltip for sections).