Interface IIgrTooltipProps

Hierarchy

Hierarchy

  • IIgrTooltipProps

Properties

anchor?: string

An element instance or an IDREF to use as the anchor for the tooltip.

children?: ReactNode
className?: string
closed?: ((s, e) => void)

Type declaration

closing?: ((s, e) => void)

Type declaration

disableArrow?: string | boolean

Whether to disable the rendering of the arrow indicator for the tooltip.

Default

false
hideDelay?: string | number

Specifies the number of milliseconds that should pass before hiding the tooltip.

Default

300
hideTriggers?: string

Which event triggers will hide the tooltip. Expects a comma separate string of different event triggers.

Default

pointerleave, click
id?: string
message?: string

Specifies a plain text as tooltip content.

offset?: string | number

The offset of the tooltip from the anchor in pixels.

Default

6
open?: string | boolean

Whether the tooltip is showing.

Default

false
opened?: ((s, e) => void)

Type declaration

opening?: ((s, e) => void)

Type declaration

placement?: string | PopoverPlacement

Where to place the floating element relative to the parent anchor element.

Default

top
showDelay?: string | number

Specifies the number of milliseconds that should pass before showing the tooltip.

Default

200
showTriggers?: string

Which event triggers will show the tooltip. Expects a comma separate string of different event triggers.

Default

pointerenter
sticky?: string | boolean

Specifies if the tooltip remains visible until the user closes it via the close button or Esc key.

Default

false
style?: CSSProperties