Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
vendor /
twbs /
bootstrap /
js /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
dom
[ DIR ]
drwxr-sr-x
2024-02-14 08:52
util
[ DIR ]
drwxr-sr-x
2024-02-14 08:52
alert.js
1.86
KB
-rw-r--r--
2024-02-14 08:51
base-component.js
1.89
KB
-rw-r--r--
2024-02-14 08:51
button.js
1.59
KB
-rw-r--r--
2024-02-14 08:51
carousel.js
11.54
KB
-rw-r--r--
2024-02-14 08:51
collapse.js
7.42
KB
-rw-r--r--
2024-02-14 08:51
dropdown.js
12.9
KB
-rw-r--r--
2024-02-14 08:51
modal.js
9.36
KB
-rw-r--r--
2024-02-14 08:51
offcanvas.js
6.65
KB
-rw-r--r--
2024-02-14 08:51
popover.js
1.83
KB
-rw-r--r--
2024-02-14 08:51
scrollspy.js
8.27
KB
-rw-r--r--
2024-02-14 08:51
tab.js
8.86
KB
-rw-r--r--
2024-02-14 08:51
toast.js
4.92
KB
-rw-r--r--
2024-02-14 08:51
tooltip.js
15.65
KB
-rw-r--r--
2024-02-14 08:51
Save
Rename
/** * -------------------------------------------------------------------------- * Bootstrap button.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ import BaseComponent from './base-component.js' import EventHandler from './dom/event-handler.js' import { defineJQueryPlugin } from './util/index.js' /** * Constants */ const NAME = 'button' const DATA_KEY = 'bs.button' const EVENT_KEY = `.${DATA_KEY}` const DATA_API_KEY = '.data-api' const CLASS_NAME_ACTIVE = 'active' const SELECTOR_DATA_TOGGLE = '[data-bs-toggle="button"]' const EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}` /** * Class definition */ class Button extends BaseComponent { // Getters static get NAME() { return NAME } // Public toggle() { // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE)) } // Static static jQueryInterface(config) { return this.each(function () { const data = Button.getOrCreateInstance(this) if (config === 'toggle') { data[config]() } }) } } /** * Data API implementation */ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, event => { event.preventDefault() const button = event.target.closest(SELECTOR_DATA_TOGGLE) const data = Button.getOrCreateInstance(button) data.toggle() }) /** * jQuery */ defineJQueryPlugin(Button) export default Button