@metreeca/tile
    Preparing search index...
    • Tracks the current route.

      Provides the current route and a navigator to the components below it, through useRoute and useRouter, and renders again whenever the route changes, whether through navigation or browser history. The views for the current route are selected by the Routes nested below it.

      Takes over plain clicks anywhere in the page, leaving clicks with a modifier key or already handled to the browser:

      • a link to the same site is followed without reloading the page, unless it points at a fragment of the current page or targets another browsing context
      • a link to another site opens in a new browsing context
      • an image outside any link toggles its active attribute, which the @metreeca/tile stylesheet reads to show it over the whole viewport; an image inside a link is left to the link

      An enlarged image is restored by another click on it, by Escape, or as soon as the focus moves, so a keyboard user never ends up on a control the image covers. Enlarging is a visual convenience over content the image already carries, through its alternative text and the browser zoom, so images are not made reachable from the keyboard.

      A page mounts a single router, as each one takes over the clicks and keys of the whole page.

      Parameters

      • options: { children?: ComponentChildren }

        The router configuration

        • Optionalchildren?: ComponentChildren

          The content rendered within the router, nesting the Routes that select the views for the current route.

      Returns VNode<{ value: T; children?: ComponentChildren }>

      The rendered children