Command

modules/history.Command

constructor

new Command(oldValue, newValue, history, tick): Command

Parameters

Name Type
oldValue SnapshotType
newValue SnapshotType
history History
tick number

Returns

Command

Defined in

src/modules/history/command.ts#24

oldValue

Readonly oldValue: SnapshotType

Defined in

src/modules/history/command.ts#25


newValue

Readonly newValue: SnapshotType

Defined in

src/modules/history/command.ts#26


tick

Readonly tick: number

Defined in

src/modules/history/command.ts#28

undo

undo(): void

Returns

void

Defined in

src/modules/history/command.ts#16


redo

redo(): void

Returns

void

Defined in

jodit/src/modules/history/command.ts:20