Skip to content


Choose a tag to compare
@LeaVerou LeaVerou released this 26 Nov 15:07
· 13 commits to main since this release
  • Rewritten to ESM, build tools generate good ol' global version, ESM (transpiled), CJS, and minified versions thereof
  • No side effects if included via ESM, which facilitates inclusion in other libraries/components
  • Stretchy.init() now accepts a DOM node to resize under and monitor for changes
  • Stretchy.resizeAll() now accepts a second parameter to scope selector by
  • Now works in Shadow DOM. Just use Stretchy.init(shadowRoot) in your component.

Full Changelog: v1.1.1...v2.0.0