Releases: patik/within-viewport
Releases · patik/within-viewport
3.0.1
3.0.0
- New: Adds a promise-based function
withinViewportAsync
that usesIntersectionObserver
- Breaking change: the
side
option is no longer supported directly, see README for how to migrate - Deprecation notice: the function name is now camelCase, i.e.
withinViewport
with a capital V. The old spelling will still work but it will log a warning to the console. - New: TypeScript support and type definitions
- Changed: revamped demo page