MetadataTypeManager.setType method
MetadataTypeManager › setType
Unofficial
Set widget type for property.Signature:
setType(property: string, type: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| property | string | Property name. |
| type | string | Widget type to assign. |
Returns: Promise<void> — A promise that resolves when the widget type is set.