shouldShow

abstract var shouldShow: JsAny

Function used to detect whether to show the tooltip based on a condition, called every time the tooltip is about to be shown on hover and focus. The function takes two parameters: target and context, which contain values of the corresponding tooltip properties at the time of calling. The tooltip is only shown when the function invocation returns true.