intro.js
/**
     * @api private
     * @param {HTMLElement} stepElement an element from which to extract data of a single step
     * @returns {Object} The object representation of a single intro step
     */
@api private
@param {HTMLElement} stepElement an element from which to extract data of a single step
@returns {Object} The object representation of a single intro step
@api private @param { HTMLElement } stepElement an element from which to extract data of a single step @returns { Object } The object representation of a single intro step
function _getStepDataFromElement(stepElement) {
        var tooltipPosition = stepElement.getAttribute('data-intro-tooltip-position') || this._options.tooltipPosition;
        return {
            element: this._rootElement.querySelector(stepElement.getAttribute('data-intro-element')),
            content: _getElementHTML(stepElement),
            step: parseInt(stepElement.getAttribute('data-intro-step'), 10),
            scrollTo: parseInt(stepElement.getAttribute('data-intro-scroll-to'), 10),
            tooltipPosition: tooltipPosition
        };
    }
function _getStepDataFromElement ( stepElement ) { var tooltipPosition = stepElement . getAttribute ( 'data-intro-tooltip-position' ) || this . _options . tooltipPosition ; return { element : this . _rootElement . querySelector ( stepElement . getAttribute ( 'data-intro-element' ) ) , content : _getElementHTML ( stepElement ) , step : parseInt ( stepElement . getAttribute ( 'data-intro-step' ) , 10 ) , scrollTo : parseInt ( stepElement . getAttribute ( 'data-intro-scroll-to' ) , 10 ) , tooltipPosition : tooltipPosition } ; }
@api private
 @param {HTMLElement} stepElement an element from which to extract data of a single step
 @returns {Object} The object representation of a single intro step
@api private @param { HTMLElement } stepElement an element from which to extract data of a single step @returns { Object } The object representation of a single intro step
// use default position if none was provided // the element to highlight // content of the intro tooltip // custom scrolling offset for this step