Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Events/DomEvents/registerEventOnHashChange

Index

Functions

registerEventOnHashChange

  • registerEventOnHashChange(): void
  • Registers the hash__change event on the event bus which is triggered every time the user moves in the history forwards or backwards.

    If you change the hash and don't want EVENT_ON_HASH_CHANGE to be triggered by it, emit the "EVENT_HASH_UPDATE" event first and set args: {new: "#/new/hash"}

    Returns void

Generated using TypeDoc