rafgraph / detect-it
Detect if a device is mouseOnly, touchOnly, or hybrid, and if the primary input is mouse or touch.
β424Updated 3 years ago
Alternatives and similar repositories for detect-it:
Users that are interested in detect-it are comparing it to the libraries listed below
- Small, efficient encoding of SVG data URIs for CSS, HTML, etc.β321Updated 10 months ago
- π¦A utility to match a browserslist query with user agent stringsβ308Updated 2 years ago
- PostCSS plugin that tries to fix all of flexbug's issuesβ748Updated last year
- Matrix transformations made easy.β433Updated 3 years ago
- CSS Custom Paint / Paint Worklet polyfill with special browser optimizations.β746Updated last year
- ππ€ Load one or more images, return a promise. Tiny, browser-only, no dependencies.β147Updated last month
- Trap focus within a DOM node.β1,403Updated this week
- MDN polyfills - from, forEach, filter, find, findIndex, assign, includes, create, entries, of, repeat, startsWith, endsWith, toggleAttribβ¦β176Updated 2 years ago
- A webpack plugin that will extract critical CSS. Now supports Webpack v4.β452Updated 4 years ago
- Use Custom Properties in CSSβ594Updated 3 years ago
- PostCSS plugin to transform CSS Custom Properties(CSS variables) syntax into a static representationβ544Updated last year
- Return the closest element matching a selector up the DOM treeβ352Updated 5 years ago
- Disallow features that aren't supported by your target browser audience.β433Updated last month
- Polyfills the ResizeObserver API.β976Updated last year
- The URLSearchParams polyfillβ260Updated 4 years ago
- An explainer page and demo of how the URL bar interacts with pages on the webβ172Updated 3 years ago
- A tiny, permissive CSS selector parserβ388Updated 3 months ago
- Low Quality Image Placeholders (LQIP) Module for Nodeβ434Updated 3 years ago
- β380Updated last month
- Extract CSS from chunks into multiple stylesheets + HMRβ695Updated 6 months ago
- Distinguish between scroll events initiated by the user, and those by inertial scrollingβ560Updated 5 years ago
- Prepare Brotli-compressed versions of assets to serve them with Content-Encoding: brβ215Updated 3 years ago
- Low Quality Image Placeholders (LQIP) for Webpackβ1,211Updated 2 years ago
- Polyfill for CSS Container Queriesβ404Updated 3 years ago
- Stickybits is a lightweight alternative to `position: sticky` polyfills π¬β250Updated last year
- A fast, tiny polyfill for dynamic import() that works in all module-supporting browsersβ322Updated 2 years ago
- A throttle function that uses requestAnimationFrame to rate limitβ457Updated 2 years ago
- A utility to compile browserslist query to a RegExp to test browser useragent.β255Updated last week
- A lightweight JavaScript library for measuring and comparing the dimensions and distances of DOM elements.