showTooltipOnRootComponent

fun showTooltipOnRootComponent(c: ComponentContext, popupWindow: PopupWindow, xOffset: Int, yOffset: Int)

Show the given tooltip with the specified offsets from the bottom-left corner of the root component.


Show the given tooltip on the root component.

Parameters

c
lithoTooltip

A LithoTooltip implementation to be shown on the root component.


fun showTooltipOnRootComponent(c: ComponentContext, lithoTooltip: LithoTooltip, xOffset: Int, yOffset: Int)

Show the given tooltip on the root component.

Parameters

c
lithoTooltip

A LithoTooltip implementation to be shown on the root component.

xOffset

horizontal offset from default position where the tooltip shows.

yOffset

vertical offset from default position where the tooltip shows.