TooltipService.attach Method

Attached the tooltip service to the specified element with the desired configuration.
 

Parameters

target

Type: Element
The element to attach tooltips to.
config

Type: Object
An object containing the tooltip settings.
 

Remarks

When a tooltip is displayed, any existing title attribute is removed. The title attribute will be restored once the tooltip service detaches from the element.