本页由脚本自动生成,请勿手动编辑。如需补充说明,请使用
::: tip块。
ts
function usePropertyCommand(host): object;Defined in: hooks/use-property-command.d.ts:3
Parameters
| Parameter | Type |
|---|---|
host | EditorHost |
Returns
object
updateProperty
ts
updateProperty: (element, propertyPath, newValue) => void;Parameters
| Parameter | Type |
|---|---|
element | IGraphicElement |
propertyPath | string |
newValue | any |
Returns
void
batchUpdateProperty
ts
batchUpdateProperty: (elements, propertyPath, newValue) => void;Parameters
| Parameter | Type |
|---|---|
elements | IGraphicElement[] |
propertyPath | string |
newValue | any |
Returns
void