Angular Signal Generators
    Preparing search index...

    Interface IntersectionObserverOptions

    Optional injector reference if created outside injector context and IntersectionObserver options. If no IntersectionObserver options are passed then only all attributes are observed.

    interface IntersectionObserverOptions {
        debugName?: string;
        injector?: Injector;
        root?: Element | Document | ElementRef<any> | null;
        rootMargin?: string;
        scrollMargin?: string;
        threshold?: number | number[];
    }

    Hierarchy

    • Omit<IntersectionObserverInit, "root">
    • Pick<CreateSignalOptions<unknown>, "debugName">
      • IntersectionObserverOptions
    Index
    debugName?: string

    A debug name for the signal. Used in Angular DevTools to identify the signal.

    injector?: Injector

    This signal must either be created in an injection context or passed an injector.

    root?: Element | Document | ElementRef<any> | null

    The root element where intersections will be observed.

    rootMargin?: string
    scrollMargin?: string
    threshold?: number | number[]