addPopStateListener abstract method

void addPopStateListener(
  1. EventListener fn
)

Registers an event listener for the popstate event.

See: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate

Implementation

void addPopStateListener(EventListener fn);