Create an event emitter by either creating a new object or mixin in an existing object or constructor.
Add accessible modals to a web page.
This turns the query string into a private object. Use the API to read and manipulate the query string.
Validate, read, and reset form fields.
Keep track of whether an element is in view or out of view.
Accessible accordion using CSS transition to expand and contract.
This module builds "next" and "previous" buttons and emits an update whenever the index changes.
This module builds a list of bullet links.
Constructor to slide multiple objects on a track rather than individually.
This just relies on CSS for any transition between items.
Accessible tabs, where aria states are automatically added.
debounce at animationframe
Loads images based on media queries for better page performance.
Vanilla JS version of the C2 tabs module
Accessible vanilla JS accordion using CSS transition to expand and contract.
Add accessible modals to a web page using vanilla JS.
Works with node version 12.18.3