Memory
Example:
// memory = new Memory();
Constructor Summary
Public Constructor | ||
public |
constructor(pid: *, mode: *, origin: *, value: *) Add new memory element |
Method Summary
Public Methods | ||
public |
get(): * Get the current value of the memory item (same as memory.name.value) |
|
public |
toggle(values: array): * Toggle the value based on an array list of values |
Private Methods | ||
private |
Return an encoded version of the memory for storage in a coookie |
Public Constructors
public constructor(pid: *, mode: *, origin: *, value: *) source
Add new memory element
Params:
Name | Type | Attribute | Description |
pid | * | ||
mode | * | ||
origin | * | ||
value | * |