General.Web/wwwroot/assets/module/introJs/introJs.js

(开头部分) 90KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**
 * Intro.js v2.9.3
 * https://github.com/usablica/intro.js
 *
 * Copyright (C) 2017 Afshin Mehrabani (@afshinmeh)
 */

(function (f) {
    if (typeof exports === "object" && typeof module !== "undefined") {
        module.exports = f();
        // deprecated function
        // @since 2.8.0
        module.exports.introJs = function () {
            console.warn('Deprecated: please use require("introJs.js") directly, instead of the introJs method of the function');
            // introJs()
            return f().apply(this, arguments);
        };
    } else if (typeof define === "function" && define.amd) {
        define([], f);
    } else if (window.layui && layui.define) {  // layui加载
        layui.define(function (exports) {
            layui.link(layui.cache.base + 'introJs/introJs.css');
            exports('introJs', f());
        });
    } else {
        var g;
        if (typeof window !== "undefined") {
            g = window;
        } else if (typeof global !== "undefined") {
            g = global;
        } else if (typeof self !== "undefined") {
            g = self;
        } else {
            g = this;
        }
        g.introJs = f();
    }
})(function () {
    //Default config/variables
    var VERSION = '2.9.3';

    /**
     * IntroJs main class
     *
     * @class IntroJs
     */
    function IntroJs(obj) {
        this._targetElement = obj;
        this._introItems = [];

        this._options = {
            /* Next button label in tooltip box */
            nextLabel: '下一步 →',
            /* Previous button label in tooltip box */
            prevLabel: '← 上一步',
            /* Skip button label in tooltip box */
            skipLabel: '跳过',
            /* Done button label in tooltip box */
            doneLabel: '完成',
            /* Hide previous button in the first step? Otherwise, it will be disabled button. */
后面还有 2481 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。