obj/Release/netcoreapp3.1/PubTmp/Out/wwwroot/js/jquery.autocomplete.min.js

(开头部分) 13KB

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

/**
*  Ajax Autocomplete for jQuery, version 1.2.7
*  (c) 2013 Tomas Kirda
*
*  Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
*  For details, see the web site: http://www.devbridge.com/projects/autocomplete/jquery/
*
*/

(function(e) {
    "function" === typeof define && define.amd ? define(["jquery"], e) : e(jQuery)
})(function(e) {
    function g(a, b) {
        var c = function() {},
        c = {
            autoSelectFirst: !1,
            appendTo: "body",
            serviceUrl: null,
            lookup: null,
            onSelect: null,
            width: "auto",
            minChars: 1,
            maxHeight: 300,
            deferRequestBy: 0,
            params: {},
            formatResult: g.formatResult,
            delimiter: null,
            zIndex: 9999,
            type: "GET",
            noCache: !1,
            onSearchStart: c,
            onSearchComplete: c,
            containerClass: "autocomplete-suggestions",
            tabDisabled: !1,
            dataType: "text",
            lookupFilter: function(a, b, c) {
                return - 1 !== a.value.toLowerCase().indexOf(c)
            },
            paramName: "query",
            transformResult: function(a) {
                return "string" === typeof a ? e.parseJSON(a) : a
            }
        };
        this.element = a;
        this.el = e(a);
        this.suggestions = [];
        this.badQueries = [];
        this.selectedIndex = -1;
        this.currentValue = this.element.value;
        this.intervalId = 0;
        this.cachedResponse = [];
        this.onChange = this.onChangeInterval = null;
        this.isLocal = this.ignoreValueChange = !1;
        this.suggestionsContainer = null;
        this.options = e.extend({},
        c, b);
        this.classes = {
            selected: "autocomplete-selected",
            suggestion: "autocomplete-suggestion"
        };
后面还有 315 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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