removeTooltip

removes a tooltip of a target view or an HTML element

void removeTooltip(string|HTMLElement target);

Parameters

targetstring|HTMLElementthe ID of a view / HTML element or the view / HTML element itself

Example

// by ID
webix.TooltipControl.removeTooltip("genre");
 
// passing an HTML node
webix.TooltipControl.removeTooltip($$("genre").$view);
webix.TooltipControl.removeTooltip(document.getElementById("genre"));

Details

removeTooltip() removes the target area from the list of areas for which the common tooltip instance is shown. If the target area is the last and there are no areas with tooltips left, the common tooltip instance is removed as well.

Back to top