• Pushes or replaces a history state.

    Parameters

    • replace: boolean

      if true, it will replace the current history without creating a new one.

    • state: object

      a state object.

    • title: string

      a title for the state. May be ignored by some browsers.

    • url: string

      the new history entry's URL. Ignored if not specified.

    Returns void

    Since

    8.5.0