Aberdeen - v1.0.3
    Preparing search index...

    Function persistScroll

    • Restore and store the vertical and horizontal scroll position for the parent element to the page state.

      Parameters

      • name: string = 'main'

        A unique (within this page) name for this scrollable element. Defaults to 'main'.

        The scroll position will be persisted in route.aux.scroll.<name>.

      Returns void