dist/toolkit.js
function(node, content) {
        this.node = node = $(node).addClass('is-active');

        // Load the new element
        this.loadElement(node, function(tooltip) {
            tooltip
                .addClass(this.readOption(node, 'position'))
                .attr('role', 'tooltip');
        });

        // Load the content
        this.loadContent(content || this.readValue(node, this.readOption(node, 'getContent')));
    }
function(node, content) {
        this.node = node = $(node).addClass('is-active');

        // Load the new element
        this.loadElement(node, function(tooltip) {
            tooltip
                .addClass(this.readOption(node, 'position'))
                .attr('role', 'tooltip');
        });

        // Load the content
        this.loadContent(content || this.readValue(node, this.readOption(node, 'getContent')));
    }
function ( node , content ) { this . node = node = $ ( node ) . addClass ( 'is-active' ) ; // Load the new element this . loadElement ( node , function ( tooltip ) { tooltip . addClass ( this . readOption ( node , 'position' ) ) . attr ( 'role' , 'tooltip' ) ; } ) ; // Load the content this . loadContent ( content || this . readValue ( node , this . readOption ( node , 'getContent' ) ) ) ; }
Show the tooltip and determine whether to grab the content from an AJAX call,
a DOM node, or plain text. The content can also be passed as an argument.

@param {jQuery} node
@param {String|jQuery} [content]
Show the tooltip and determine whether to grab the content from an AJAX call a DOM node or plain text . The content can also be passed as an argument .