... | ... | @@ -28,7 +28,7 @@ or, cherry pick individual helpers: |
|
|
* [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
|
|
|
* [forEach](forEach) - run a function on each item of an array **🚨Deprecation notice🚨** Q3 of 2019 this will be removed from a17-helpers
|
|
|
* [getCurrentMediaQuery](getCurrentMediaQuery) - Returns the current media query in use in the CSS
|
|
|
* [getIndex](getIndex) - Returns the index of a node in a nodeList
|
|
|
* [getMetaContentByName](getMetaContentByName) - Returns a metatag content by name
|
... | ... | @@ -51,7 +51,7 @@ or, cherry pick individual helpers: |
|
|
* [scrollToY](scrollToY) - Animated scroll to position
|
|
|
* [sentEventToSegmentio](sentEventToSegmentio) - Tracks site wide requests for analytics events. Catches events before segment.io is ready, stores them and tries them again when it is ready. Follows conventions from segment.io: https://segment.com/docs/libraries/analytics.js/#selecting-integrations Checks a meta tag on init for identifying the user
|
|
|
* [setFocusOnTarget](setFocusOnTarget) - Sets focus on target node
|
|
|
* [triggerCustomEvent](triggerCustomEvent) - Triggers a custom event
|
|
|
* [triggerCustomEvent](triggerCustomEvent) - Triggers a custom event **🚨Deprecation notice🚨** Q3 of 2019 this will be removed from a17-helpers
|
|
|
|
|
|
## Developing
|
|
|
|
... | ... | |