Skip to content

Latest commit

 

History

History
65 lines (35 loc) · 1.26 KB

README.md

File metadata and controls

65 lines (35 loc) · 1.26 KB

Js-Toolbox

Function :

"isScrolledIntoView" : Allow you to know if the element is visible on screen.

"isInside" : If an element is inside an other one.

"isCollide" : If 2 elements are colliding.

"field_sorter" : Sort object with defined key.

"debounce" : Debounce.

"set_fullscreen" : Set element in fullscreen.

"base64_to_array_buffer" : Transform base64 into array buffer

"__fadeOut" , "__fadeIn" : Fade in, Fade out, need animate.css to run.

Object :

"Base64" : "encode", "decode", "_utf8_encode", "_utf8_decode".

"Event" : "on", "off" , "once" , "trigger".

"private_object".

Prototypes :

Array, Element, Nodelist, Number, Object, String. ( take a look inside to get all methods.)

Jquery :

"outerHtml" , "wait" , "hasHorizontalScrollBar", "hasVerticalScrollBar" , "disable" , "enable", "hasAttr" , "toggleAttrVal". "scroll_lock" ( usefull to lock scroll when a modal is visible on screen)

1.6

Vanilla js version of "isScrolledIntoView". 1.5

Fade in, Fade Out.

1.4

Add alias

1.3

  • Add a Jquery folder.
  • Object "private_object".

1.2

  • Add "set_fullscreen", "base64_to_array_buffer".

1.1

  • Add "field_sorter", "debounce", "event".

1.0

  • First release.