v2.0.0
- 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 changesStretchy.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