addPopStateListener method

VoidCallback addPopStateListener(
  1. PopStateListener fn
)

Adds a listener to the popstate event and returns a function that, when invoked, removes the listener.

Implementation

ui.VoidCallback addPopStateListener(PopStateListener fn) {
  // No-op.
  return () {};
}