setProp()

Sets the value of the specified widget property.

Syntax

Copy

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
Did this help?