vapor-chamber API reference - v1.16.0
    Preparing search index...

    Type Alias RouterHistory

    type RouterHistory = {
        base: string;
        location: () => string;
        state: () => unknown;
        push: (fullPath: string, state?: Record<string, unknown>) => void;
        replace: (fullPath: string, state?: Record<string, unknown>) => void;
        go: (delta: number) => void;
        listen: (cb: HistoryListener) => () => void;
        createHref: (fullPath: string) => string;
        destroy: () => void;
    }
    Index
    base: string
    location: () => string

    Current fullPath (path + search + hash) relative to base.

    state: () => unknown
    push: (fullPath: string, state?: Record<string, unknown>) => void
    replace: (fullPath: string, state?: Record<string, unknown>) => void
    go: (delta: number) => void
    listen: (cb: HistoryListener) => () => void
    createHref: (fullPath: string) => string

    Absolute href for the DOM: base + fullPath.

    destroy: () => void