A collection of helper methods for Odo projects.
Device-specific settings for JS and CSS
Reusable, throttled events on the window object.
Base component for odo components. Includes media query listeners and exports base globals
Viewport enter and exit monitoring for elements.
A class for versatile, performant draggability.
Performant scroll listeners.
An abstraction for pointer, mouse, and touch events.
Parse data attributes with respect to their breakpoints.
Native responsive images with deferred loading.
A lightweight html5 video wrapper.
Fits media elements (img, video). It polyfills CSS' object-fit: cover; If the browser supports object-fit, it will not run.
Provide event hook for swipes on an element.
Plays in the background when the element comes into view and falls back to an image if the browser cannot autoplay video.
A component for switching between panes of content.
Based user input from mouse, keyboard, and touch, the `ScrollFeedback` instance will emit navigation events.
A component which positions and opens hotspots.
A mananger for sticky things
Share links to social media.
Augment a class' static methods with helpers
powered by npms.io 🚀