Vertex Viewer SDK
    Preparing search index...

    Interface ScrollToOptions

    A set of options to configure the scroll to index behavior.

    interface ScrollToOptions {
        animate?: boolean;
        position?: "start" | "end" | "middle";
    }
    Index
    animate?: boolean

    Indicates if this operation will be animated. Defaults to false.

    position?: "start" | "end" | "middle"

    Indicates where in the viewport the scrolled to item should be placed. Defaults to middle.