Type Alias IntersectionObserverArrayOptions

IntersectionObserverArrayOptions: IntersectionObserverOptions & {
    alwaysShowLastIntersection?: boolean;
}

Type declaration

  • OptionalalwaysShowLastIntersection?: boolean

    If set to true (default), the returned entries always contain the last intersection change that happened for each element. If set to false, only the recently updated intersections are contained in the return value and the rest is set to null. If you want to test if multiple element are on screen, leave this value as default as this will tell where each element was last seen (on-screen or off-screen).