Skip to content

3.0.0

Compare
Choose a tag to compare
@patik patik released this 23 Jan 06:43
· 124 commits to main since this release
48e369e
  • New: Adds a promise-based function withinViewportAsync that uses IntersectionObserver
  • 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