Data
Manages data passed from server-side
Constructor Summary
| Public Constructor | ||
| public |
constructor(dataId: string) |
|
Method Summary
| Public Methods | ||
| public |
encodedJSONForKey(key: string): Object Gets base64 json for key |
|
| public |
envValueForKey(key: string): any Obtains a server-sources env value |
|
| public |
Check if key exists |
|
| public |
valueForKey(key: string): string Get value for key |
|
Public Constructors
Public Methods
public encodedJSONForKey(key: string): Object source
Gets base64 json for key
Params:
| Name | Type | Attribute | Description |
| key | string | Key name |
public envValueForKey(key: string): any source
Obtains a server-sources env value
Params:
| Name | Type | Attribute | Description |
| key | string | The key |
Return:
| any (nullable: true) | null if not found |
