intro.js
/**
      * Finds and binds the next, previous and skip buttons of the current tour step
      *
      * @api private
      * @method _bindButtons
      * @param {Object} container to search for buttons
      */
Finds and binds the next, previous and skip buttons of the current tour step
@api private
@method _bindButtons
@param {Object} container to search for buttons
Finds and binds the next previous and skip buttons of the current tour step @api private @method _bindButtons @param { Object } container to search for buttons
function _bindButtons(container) {
        var that = this;
        var nextTooltipButton = container.querySelector(this._options.nextButton);
        var prevTooltipButton = container.querySelector(this._options.prevButton);
        var skipTooltipButton = container.querySelector(this._options.skipButton);
        if (nextTooltipButton) {
            nextTooltipButton.onclick = function() {
                _nextStep.call(that);
            };
        }
        if (prevTooltipButton) {
            prevTooltipButton.onclick = function() {
                _previousStep.call(that);
            };
        }
        if (skipTooltipButton) {
            skipTooltipButton.href = 'javascript:void(0);';
            skipTooltipButton.onclick = function() {
                _exitIntro.call(that);
            };
        }
    }
function _bindButtons ( container ) { var that = this ; var nextTooltipButton = container . querySelector ( this . _options . nextButton ) ; var prevTooltipButton = container . querySelector ( this . _options . prevButton ) ; var skipTooltipButton = container . querySelector ( this . _options . skipButton ) ; if ( nextTooltipButton ) { nextTooltipButton . onclick = function ( ) { _nextStep . call ( that ) ; } ; } if ( prevTooltipButton ) { prevTooltipButton . onclick = function ( ) { _previousStep . call ( that ) ; } ; } if ( skipTooltipButton ) { skipTooltipButton . href = 'javascript:void(0);' ; skipTooltipButton . onclick = function ( ) { _exitIntro . call ( that ) ; } ; } }
Finds and binds the next, previous and skip buttons of the current tour step
 @api private
 @method _bindButtons
 @param {Object} container to search for buttons
Finds and binds the next previous and skip buttons of the current tour step @api private @method _bindButtons @param { Object } container to search for buttons
/* eslint-disable no-script-url */ /* eslint-enable no-script-url */