setProp()

Sets the value of the specified widget property.

Syntax

Copy
1

Parameters

NameTypeDescription
propNamestringName of the property that you want to set.
valuestringValue of the property that you want to set.

Returns

Promise<void>

Example

Copy
1
Was this helpful?
Yes
No