Skip to content

Conversation

@johnleider
Copy link
Member

…ering

Combines useIntersectionObserver + createSelection + useProxyRegistry to provide:

  • LazyRoot: detects viewport intersection, manages selection via events
  • LazyPlaceholder: shows before intersection
  • LazyContent: shows after intersection

Supports eager mode and IntersectionObserver options (rootMargin, threshold).

…ering

Combines useIntersectionObserver + createSelection + useProxyRegistry to provide:
- LazyRoot: detects viewport intersection, manages selection via events
- LazyPlaceholder: shows before intersection
- LazyContent: shows after intersection

Supports eager mode and IntersectionObserver options (rootMargin, threshold).
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 16, 2026

- Use toRef() instead of computed() for slot props (consistency)
- Normalize slot prop naming (isVisible → hasContent)
- Expose reset/onAfterLeave in LazyRoot slot props
- Export LazyContext type from barrel
- Simplify LazyRootContext to type alias
- Add accessibility attributes to docs example
- Add comprehensive component tests (31 tests)
@johnleider johnleider force-pushed the master branch 2 times, most recently from 167b915 to e38b4e4 Compare January 28, 2026 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants