... | ... | @@ -25,6 +25,8 @@ or, cherry pick individual helpers: |
|
|
* [debounce](debounce) - Debounced function call
|
|
|
* [escapeString](escapeString) - Escapes and URL encodes a string
|
|
|
* [extend](extend) - Merges the contents of two objects together
|
|
|
* [focusDisplayHandler](focusDisplayHandler) - adds `data-focus-method` to `document.activeElement` which differentiates between keyboard, mouse and touch focus
|
|
|
* [focusTrap](focusTrap) - trap keyboard tab focus within an element
|
|
|
* [fontLoadObserver](fontLoadObserver) - Adds a class and to the document and writes a cookie when fonts have loaded
|
|
|
* [forEach](forEach) - run a function on each item of an array
|
|
|
* [getCurrentMediaQuery](getCurrentMediaQuery) - Returns the current media query in use in the CSS
|
... | ... | |