Skip to content

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

Defined in: commands/update-property-command.d.ts:5

Extends

Constructors

Constructor

ts
new UpdatePropertyCommand(
   host, 
   element, 
   propertyPath, 
   oldValue, 
   newValue): UpdatePropertyCommand;

Defined in: commands/update-property-command.d.ts:11

Parameters

ParameterType
hostEditorHost
elementIGraphicElement
propertyPathstring
oldValueany
newValueany

Returns

UpdatePropertyCommand

Overrides

BaseCommand.constructor

Properties

timestamp

ts
timestamp: number;

Defined in: commands/base-command.d.ts:5

Inherited from

BaseCommand.timestamp


description?

ts
optional description?: string;

Defined in: commands/base-command.d.ts:6

Inherited from

BaseCommand.description


name

ts
name: string;

Defined in: commands/update-property-command.d.ts:6

Overrides

BaseCommand.name

Methods

redo()

ts
redo(): void;

Defined in: commands/base-command.d.ts:11

Returns

void

Inherited from

BaseCommand.redo


execute()

ts
execute(): void;

Defined in: commands/update-property-command.d.ts:12

Returns

void

Overrides

BaseCommand.execute


undo()

ts
undo(): void;

Defined in: commands/update-property-command.d.ts:13

Returns

void

Overrides

BaseCommand.undo


canMergeWith()

ts
canMergeWith(command): boolean;

Defined in: commands/update-property-command.d.ts:18

Parameters

ParameterType
commandICommand

Returns

boolean

Overrides

BaseCommand.canMergeWith


mergeWith()

ts
mergeWith(command): ICommand;

Defined in: commands/update-property-command.d.ts:19

Parameters

ParameterType
commandUpdatePropertyCommand

Returns

ICommand

Overrides

BaseCommand.mergeWith

基于 MIT 许可发布