Documentation - v20.0.0-dev
    Preparing search index...

    Context value exposed by ViewportContextProvider and read via useViewportContext: the active Viewport, and the element of its container.

    interface ViewporContext {
        element: HTMLElement | null;
        viewport: Viewport;
    }
    Index

    Properties

    Properties

    element: HTMLElement | null

    The element of the viewport's container, for the overlays over it; null without.

    viewport: Viewport