Namespace: tooltip

tooltip

Tooltip helpers. Uses the qTip2 library.

Source:

Members

defaults :object

Default tooltip options

Type:
  • object
Source:

Methods

enable(element, options)

Enables tooltips for the given element(s) as a delegated event, i.e. the tooltips will be created for existing elements and any future elements that match the selector.

Parameters:
Name Type Argument Description
element string | jQuery

The elements to activate as a jQuery object or a jQuery selector.

options object <optional>

The same as vorple.tooltip.create.

Source:
Returns:

A reference to the created $.delegate() object

show(element, text, options)

Parameters:
Name Type Argument Default Description
element string | jQuery

The target of the tooltip

text string | boolean <optional>
true

The message in the tooltip. If true, the title attribute of the element is used.

options object <optional>
Source:
Vorple Copyright © 2011-2014 the Vorple project
Documentation generated by JSDoc 3.2.2 on Wed May 07 2014 14:47:40 GMT+0300 (EEST) using the DocStrap template.