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.
Provide event hook for swipes on an element.
Fits media elements (img, video). It polyfills CSS' object-fit: cover; If the browser supports object-fit, it will not run.
A component for switching between panes of content.
Plays in the background when the element comes into view and falls back to an image if the browser cannot autoplay video.
Based user input from mouse, keyboard, and touch, the `ScrollFeedback` instance will emit navigation events.
A component which positions and opens hotspots.
Share links to social media.
Augment a class' static methods with helpers
Swap class names of elements using responsive attributes.
powered by npms.io 🚀