Skip to content

本页由脚本自动生成,请勿手动编辑。如需补充说明,请使用 ::: tip 块。

ts
function usePropertyCommand(host): object;

Defined in: hooks/use-property-command.d.ts:3

Parameters

ParameterType
hostEditorHost

Returns

object

updateProperty

ts
updateProperty: (element, propertyPath, newValue) => void;

Parameters

ParameterType
elementIGraphicElement
propertyPathstring
newValueany

Returns

void

batchUpdateProperty

ts
batchUpdateProperty: (elements, propertyPath, newValue) => void;

Parameters

ParameterType
elementsIGraphicElement[]
propertyPathstring
newValueany

Returns

void

基于 MIT 许可发布