Skip to content

Latest commit

 

History

History
executable file
·
37 lines (28 loc) · 4.88 KB

File metadata and controls

executable file
·
37 lines (28 loc) · 4.88 KB

Setting up for custom scripts

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

Components that have Javascript up on its shits

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

All Toggl bois

  • [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

Back to TOC