Hash
Manages state via URL hash changes
Constructor Summary
| Public Constructor | ||
| public |
constructor(state: State) Creates an instance of Hash |
|
Member Summary
| Public Members | ||
| public |
Application event emitter instance |
|
| public |
State object |
|
Method Summary
| Public Methods | ||
| public |
destroy() Release Hash event subscriptions and clear fields |
|
| public |
init() Initializes the Hash object |
|
| public |
Converts a URL hash into a state JSON object |
|
| public |
sync() Applies current hash state to features |
|
| public |
Updates the URL hash based on a state change |
|
