5.20231.904
wijmo Class TooltipEventArgs Wijmo API Class

TooltipEventArgs Class

Provides arguments for the Tooltip.popup event.

Heirarchy

Constructors

Properties

Constructors

constructor

  • new TooltipEventArgs(content: string, element?: HTMLElement): TooltipEventArgs
  • Initializes a new instance of the TooltipEventArgs class.

    Parameters

    • content: string

      String to show in the tooltip.

    • Optional element: HTMLElement

      HTMLElement that the tip refers to.

    Returns TooltipEventArgs

Properties

cancel

cancel: boolean

Gets or sets a value that indicates whether the event should be canceled.

content

content: string

Gets or sets the content to show in the tooltip.

This parameter can be used while handling the Tooltip.popup event to modify the content of the tooltip.

element

element: HTMLElement

Gets a reference to the element that the tooltip refers to.

tip

tip: HTMLElement

Gets a reference to the tooltip element.

Static empty

empty: EventArgs

Provides a value to use with events that do not have event data.