return t.prototype.setHandler = function()

in WebPortal/Scripts/speedtest.js [729:767]


        return t.prototype.setHandler = function (n) {
            this.handler = n
        }, t.prototype.setUpdateHandler = function (n) {
            this.updateHandler = n
        }, t.prototype.setOnExpand = function (n) {
            this.onExpandHandler = n
        }, t.prototype.setOnCollapse = function (n) {
            this.onCollapseHandler = n
        }, t.prototype.getBoundElement = function () {
            return this.boundItem
        }, t.prototype.expand = function () {
            var t, i;
            this.expando != null && (n.hasClass(this.expando, this.expandedIconOpenedClass) || n.addClass(this.expando, this.expandedIconOpenedClass));
            n.hasClass(this.boundItem, this.animatedClass) && n.removeClass(this.boundItem, this.animatedClass);
            t = this.boundItem.style.height;
            this.boundItem.style.height = "auto";
            i = Math.max(this.boundItem.offsetHeight, this.boundItem.clientHeight) + "px";
            this.onExpandHandler && this.onExpandHandler();
            this.updateHandler && this.updateHandler();
            this.boundItem.style.height = t;
            this.boundItem.offsetHeight;
            n.hasClass(this.boundItem, this.animatedClass) || n.addClass(this.boundItem, this.animatedClass);
            this.boundItem.style.height = i.toString();
            this.isExpanded = !0
        }, t.prototype.collapse = function () {
            this.expando != null && n.removeClass(this.expando, this.expandedIconOpenedClass);
            this.boundItem.style.height = Math.max(this.boundItem.offsetHeight, this.boundItem.clientHeight).toString() + "px";
            this.boundItem.offsetHeight;
            this.boundItem.style.height = "0";
            this.isExpanded = !1;
            this.onCollapseHandler && this.onCollapseHandler();
            setTimeout(this.updateHandler, this.animationDurationInSeconds * 1e3 + 50)
        }, t.prototype.handleClick = function () {
            var n = !0;
            this.handler != null && (n = this.handler());
            n && this.switchState()
        }, t.prototype.switchState = function () {
            this.isExpanded ? this.collapse() : this.expand()
        }, t