HashManager
Manages location hashes.
Constructor Summary
| Public Constructor | ||
| public |
Takes no args |
|
Member Summary
| Public Members | ||
| public get |
Returns string representing |
|
| public get |
Returns string representing navigation hash |
|
| public |
|
|
| public |
|
|
| public get |
Gets hash repesenting value |
|
Method Summary
| Public Methods | ||
| public |
getContextValue(key: string): string Obtains the value of a key |
|
| public |
getNavigationValue(depth: number): string Gets navigation value for depth |
|
| public |
You shouldn't need to call this but it updates the hash in the URL |
|
| public |
setContextValue(key: string, value: string) Updates the state to store a new key |
|
| public |
setNavigationValue(depth: number, position: string) Sets the navigation key. |
|
Public Constructors
Public Methods
public getContextValue(key: string): string source
Obtains the value of a key
Params:
| Name | Type | Attribute | Description |
| key | string |
public getNavigationValue(depth: number): string source
Gets navigation value for depth
Params:
| Name | Type | Attribute | Description |
| depth | number | navigation item depth |
