Aberdeen - v1.2.0
    Preparing search index...

    Module route

    Interfaces

    Route

    The class for the global route object.

    Variables

    current

    The global Route object reflecting the current URL and browser history state. Changes you make to this affect the current browser history item (modifying the URL if needed).

    Functions

    back

    Try to go back in history to the first entry that matches the given target. If none is found, the given state will replace the current page. This is useful for "cancel" or "close" actions that should return to the previous page if possible, but create a new page if not (for instance when arriving at the current page through a direct link).

    go

    Navigate to a new URL by pushing a new history entry.

    persistScroll

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

    push

    Modify the current route by merging target into it (using merge), pushing a new history entry.

    setLog

    Configure logging on route changes.

    up

    Navigate up in the path hierarchy, by going back to the first history entry that has a shorter path than the current one. If there's none, we just shorten the current path.