@dxos/react-ui
    Preparing search index...

    Where a scrolling area is scrolled to, in a form another session with another width can restore.

    type ScrollPosition = {
        anchor?: string;
        offset?: number;
        x?: number;
        y: number;
    }
    Index

    Properties

    Properties

    anchor?: string

    The anchor of the element at the top of the area.

    offset?: number

    How far, in pixels, the area is scrolled past the anchor's top.

    x?: number

    The fraction of the horizontal scroll range scrolled, when the area scrolls sideways.

    y: number

    The fraction of the vertical scroll range scrolled.