Skip to content

History

Defined in: history.ts:24

new History(): History;

History

get canRedo(): boolean;

Defined in: history.ts:56

boolean


get canUndo(): boolean;

Defined in: history.ts:53

boolean

onChange(cb): () => void;

Defined in: history.ts:60

ParameterType
cbHistoryListener

() => void


popRedo(): HistoryEntry | null;

Defined in: history.ts:45

HistoryEntry | null


popUndo(): HistoryEntry | null;

Defined in: history.ts:37

HistoryEntry | null


push(entry): void;

Defined in: history.ts:30

ParameterType
entryHistoryEntry

void