Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

monster.ui.tooltips()#

Syntax#

monster.ui.tooltips(target[, options]);

Parameters#

Key Description Type Default Required
target Template on which the method will be applied. It will automatically find the tooltips field and add an event so that when a user mouseover it, it shows a tooltip. This helper allows us to lazy-load the tooltips instead of loading them all at once when we first load the template, which could be heavy on the browser. jQuery true
options Object(#/options) false

options#

Key Description Type Default Required
selector Sets the CSS Selector to call the tooltip method on. Object [data-toggle="tooltip"] false
trigger Sets the Event to use to call the Bootstrap tooltip method on. String mouseover |false`
options Options to customize the Bootstrap Tooltips plugin. Object false

Description#

This helper will find all the item under the specified selector and will allow the lazy-loading of tooltips on them automatically.