fregante / image-promise
๐๐ค Load one or more images, return a promise. Tiny, browser-only, no dependencies.
โ147Updated last month
Alternatives and similar repositories for image-promise:
Users that are interested in image-promise are comparing it to the libraries listed below
- A tiny (255B) shim when Element.classList cannot be used~!โ62Updated 6 years ago
- Loads a single or multiple assets and returns a promise.โ312Updated last year
- Retrieve a consistent, accurate window.innerHeight measurement from iOSโ195Updated 3 years ago
- Events for `position: sticky`โ108Updated 2 weeks ago
- Detect support for WEBP images in the browser in 0.3KBโ111Updated 2 years ago
- Check if an element is in viewport. (580 bytes and IE9+)โ58Updated 3 years ago
- DOM event delegation, in <1KBโ192Updated 4 months ago
- A small, standalone JavaScript library for working with ranges of numbers.โ89Updated 6 years ago
- Lightweight querySelector/All wrapper that outputs an Arrayโ126Updated 3 months ago
- Polyfill for the "History API: Scroll Restoration"โ69Updated 5 years ago
- Light cross-browser scroller that uses native javascriptโ231Updated 2 years ago
- Speed controlled mouse scrollingโ51Updated 7 years ago
- ๐ฉโ๐งโ๐ฆ PostCSS plugin to reference any parent/ancestor selector in nested CSS.โ102Updated 2 weeks ago
- CSSplus is a collection of CSS Reprocessor plugins that dynamically update CSS variablesโ144Updated 5 years ago
- Replicate `background-size: cover/contain` for canvas/CSS/Node/โฆ on any type of media.โ78Updated 4 months ago
- Parse and stringify the HTML <img> srcset attributeโ139Updated last year
- Automatically expand a <textarea> to fit its content, in a few bytesโ82Updated 4 years ago
- A lightweight JavaScript library for measuring and comparing the dimensions and distances of DOM elements.โ157Updated last year
- A (329B) client-side image resizer.โ91Updated 5 years ago
- A JavaScript vector type with GLSL-inspired swizzlingโ123Updated 6 years ago
- Microscopic & functional event emitter in ~350 bytes, extensible through plugins.โ111Updated 10 months ago
- A PostCSS plugin to fix an element's dimensions to an aspect ratio.โ40Updated 6 years ago
- Use env() variables in CSSโ53Updated 3 years ago
- A small (376B) lazy function scheduler for a butter smooth main thread.โ80Updated 5 years ago
- Draggable base classโ85Updated last year
- Increment string or generate sequential string idsโ80Updated 3 years ago
- A tiny (178B) helper for playing, pausing, and setting `requestAnimationFrame` frame ratesโ82Updated 5 years ago
- An SVG animation APIโ158Updated 6 years ago
- Tiny utility (365B) to create DOM elements with manner.โ229Updated 5 months ago
- ๐ญ A tiny 250b scroll listener with progress.โ350Updated 5 years ago