@resistdesign/voltra
    Preparing search index...

    Type Alias RouteAdapter

    Platform adapter that supplies the current path and change notifications.

    type RouteAdapter = {
        getPath: () => string;
        push?: (path: string, title?: string) => void;
        replace?: (path: string, title?: string) => void;
        subscribe: (listener: (path: string) => void) => () => void;
    }
    Index

    Properties

    getPath: () => string

    Read the current path.

    push?: (path: string, title?: string) => void

    Optional navigation helper for adapters that can push state.

    replace?: (path: string, title?: string) => void

    Optional navigation helper for adapters that can replace state.

    subscribe: (listener: (path: string) => void) => () => void

    Subscribe to path changes.