mlx-bun library API
    Preparing search index...
    interface ShellOptions {
        home: string;
        routes: readonly ShellRoute[];
        onRoute?(route: string): void;
    }
    Index
    home: string

    The page shown for an empty or unknown hash.

    routes: readonly ShellRoute[]

    The pages in the host's markup, in navigation order.

    • Runs after every navigation, with the route now shown (host chrome that depends on the page).

      Parameters

      • route: string

      Returns void