removes a tooltip of a target view or an HTML element
target | string|HTMLElement | the ID of a view / HTML element or the view / HTML element itself |
// by ID
webix.TooltipControl.removeTooltip("genre");
// passing an HTML node
webix.TooltipControl.removeTooltip($$("genre").$view);
webix.TooltipControl.removeTooltip(document.getElementById("genre"));
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