Sample code
// set a custom key/value to use with dynamic content insertion
Txt.set('greeting', 'Hello')You can create a key/value pair that can later be used for dynamic content insertion.
Txt.set(key, value)The arguments of the set function are as follows:
| Argument | Type | Description |
|---|---|---|
key |
string required |
The key to store. |
value |
string required |
The value to store. |