@metreeca/tile
    Preparing search index...

    Route navigator.

    Moves the page to another route, updating the browser location, the document title and the history state together.

    • Navigates to a route.

      The document title is tidied and qualified with the app name, as Title | App, so every page names the app alongside itself; an empty title, or one equal to the app name, leaves the app name alone. Passing a title alone sets it without navigating. The enclosing Router renders again only if the route actually changes.

      Parameters

      • route: string | { route?: string; title?: string; state?: unknown; replace?: boolean }

        The route or the navigation details; a route relative to the current one resolves as a link would

        • string
        • { route?: string; title?: string; state?: unknown; replace?: boolean }
          • Optionalroute?: string

            The route to navigate to; the current route if omitted.

          • Optionaltitle?: string

            The document title; the current title if omitted.

          • Optionalstate?: unknown

            The history state; the current state if omitted, cleared if null.

          • Optionalreplace?: boolean

            True to replace the current history entry rather than add one; navigating to the current route always does.

            false
            

      Returns void