uawdijnntqw1x1x1
IP : 13.58.40.171
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
..
/
.trash
/
wp-content
/
..
/
src
/
js
/
free
/
collapse.js
/
/
import EventHandler from '../mdb/dom/event-handler'; import BSCollapse from '../bootstrap/mdb-prefix/collapse'; import Manipulator from '../mdb/dom/manipulator'; import { bindCallbackEventsIfNeeded } from '../autoinit/init'; /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ const NAME = 'collapse'; const EVENT_SHOW_BS = 'show.bs.collapse'; const EVENT_SHOWN_BS = 'shown.bs.collapse'; const EVENT_HIDE_BS = 'hide.bs.collapse'; const EVENT_HIDDEN_BS = 'hidden.bs.collapse'; const EXTENDED_EVENTS = [{ name: 'show' }, { name: 'shown' }, { name: 'hide' }, { name: 'hidden' }]; class Collapse extends BSCollapse { constructor(element, data = {}) { super(element, data); this._init(); Manipulator.setDataAttribute(this._element, `${this.constructor.NAME}-initialized`, true); bindCallbackEventsIfNeeded(this.constructor); } dispose() { EventHandler.off(this._element, EVENT_SHOW_BS); EventHandler.off(this._element, EVENT_SHOWN_BS); EventHandler.off(this._element, EVENT_HIDE_BS); EventHandler.off(this._element, EVENT_HIDDEN_BS); Manipulator.removeDataAttribute(this._element, `${this.constructor.NAME}-initialized`); super.dispose(); } // Getters static get NAME() { return NAME; } // Private _init() { this._bindMdbEvents(); } _bindMdbEvents() { EventHandler.extend(this._element, EXTENDED_EVENTS, NAME); } } export default Collapse;
/home/sudancam/public_html/../.trash/wp-content/../src/js/free/collapse.js