Wrap your script around with this
The script relies on set css var properties by the framework properties so that it remains consistent with the styles of that jugagu, if you fuck with those css variables, it will have its own default values
| component | events listener themselves/within dom/ | events listener sub/add on helpers | html markup/attribute manipulation for styling (toggling classes, etc.) | html markup/attribute manipulation for creating complete/part of UI design purely with js |
|---|---|---|---|---|
.accordion |
x | x | ||
.alert |
x | x | ||
.switch |
x | x | ||
.btn-group-toggle / .list-group-toggle |
(child btn or list-group) | x | x | |
.dropdown+ |
x | x | ||
.input-tags+ |
(too many shits) | x | ||
.input-date+ |
(too many shits) | x | x | |
.modal/ .board+ |
(data-toggle buttons generated by js) | x | x | x |
.tab |
(children a tags are event listeners) | x | ||
[data-toggle*=tooltip] |
x | x | ||
.zone |
x | x | x | |
.module-grid |
(window listens for resize) | x |
+ element containing mentioned component attribute is simply hidden
[data-toggle-tooltip-hover],[data-toggle-tooltip-click][data-toggle-dropdown][data-toggle-accordion][data-toggle-alert-close],[data-toggle-alert-close-all][data-toggle-modal-{MODE}],[data-toggle-modal-{MODE}-open],[data-toggle-modal-{MODE}-close],[data-toggle-modal-board-resize]`[data-toggle-switch-on],[data-toggle-switch-off]
That's all I can think of sharing for now because my brain is as fried as a chickenjoy right now