"state/stateRegistry" | @uirouter/core
Module "state/stateRegistry"
Type aliases
StateRegistryListener
State
RegistryListener: (event: "registered" | "deregistered", states: StateDeclaration[]) => void
Type declaration
-
-
Parameters
-
event: "registered" | "deregistered"
-
Returns void
The signature for the callback function provided to StateRegistry.onStatesChanged.
This callback receives two parameters:
a string; either "registered" or "deregistered"
the list of StateDeclarations that were registered (or deregistered).