Returns the current state stored by the browser for the current history entry.
()
| 140 | |
| 141 | /** Returns the current state stored by the browser for the current history entry. */ |
| 142 | restoredState(): RestoredState | null | undefined { |
| 143 | return this.location.getState() as RestoredState | null | undefined; |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Registers a listener that is called whenever the current history entry changes by some API |