IntersectionObserverInit constructor
IntersectionObserverInit({
- dynamic root,
- String? rootMargin,
- dynamic threshold,
Implementation
factory IntersectionObserverInit(
{dynamic root, String? rootMargin, dynamic threshold}) =>
IntersectionObserverInit._(
root: root ?? undefined,
rootMargin: rootMargin ?? '0px',
threshold: threshold ?? 0);