mazey
    Preparing search index...

    Function onURLChange

    • Listen to URL changes from:

      • back/forward navigation
      • hash changes
      • history.pushState / history.replaceState

      Parameters

      • callback: (info: URLChangeInfo) => void

        Called with current URL, previous URL, and trigger source.

      • options: OnURLChangeOptions = {}

        { fireOnInit?: boolean } default true.

      Returns () => void

      unsubscribe function