Sha256: 9724c1d8aaf8f2a0149074b2ce03c27aa5b5da89742b2a47f2a74915f6d0eddb
Contents?: true
Size: 846 Bytes
Versions: 11
Compression:
Stored size: 846 Bytes
Contents
"use strict";var KTModalUserSearch=function(){var e,t,n,s,a,r=function(e){setTimeout((function(){var a=KTUtil.getRandomInt(1,3);t.classList.add("d-none"),3===a?(n.classList.add("d-none"),s.classList.remove("d-none")):(n.classList.remove("d-none"),s.classList.add("d-none")),e.complete()}),1500)},o=function(e){t.classList.remove("d-none"),n.classList.add("d-none"),s.classList.add("d-none")};return{init:function(){(e=document.querySelector("#kt_modal_users_search_handler"))&&(e.querySelector('[data-kt-search-element="wrapper"]'),t=e.querySelector('[data-kt-search-element="suggestions"]'),n=e.querySelector('[data-kt-search-element="results"]'),s=e.querySelector('[data-kt-search-element="empty"]'),(a=new KTSearch(e)).on("kt.search.process",r),a.on("kt.search.clear",o))}}}();KTUtil.onDOMContentLoaded((function(){KTModalUserSearch.init()}));
Version data entries
11 entries across 5 versions & 1 rubygems