Interface CustomHistory

APIs to interface with a browser's history.

Hierarchy

  • CustomHistory

Properties

Methods

Properties

state: Record<string, unknown>

The current state.

Methods

  • Pushes the new state into the browser's history.

    Parameters

    • state: Record<string, unknown>

      The new state.

    Returns void

  • Replaces the existing browser's history state with a new one.

    Parameters

    • state: Record<string, unknown>

      The new state.

    Returns void

Generated using TypeDoc