Stack
modules/history.Stack
Implements
constructor
new Stack(size): Stack
Parameters
| Name | Type |
|---|---|
size |
number |
Returns
Defined in
src/modules/history/stack.ts#19
length
get length(): number
Returns
number
Implementation of
Defined in
src/modules/history/stack.ts#21
clear
clear(): void
Returns
void
Implementation of
Defined in
src/modules/history/stack.ts#29
push
push(command): void
Parameters
| Name | Type |
|---|---|
command |
Command |
Returns
void
Implementation of
Defined in
src/modules/history/stack.ts#34
replace
replace(command): void
Parameters
| Name | Type |
|---|---|
command |
Command |
Returns
void
Implementation of
Defined in
src/modules/history/stack.ts#45
current
Returns
Implementation of
Defined in
src/modules/history/stack.ts#49
undo
undo(): boolean
Returns
boolean
Implementation of
Defined in
src/modules/history/stack.ts#53
redo
redo(): boolean
Returns
boolean
Implementation of
Defined in
src/modules/history/stack.ts#67
canUndo
canUndo(): boolean
Returns
boolean
Implementation of
Defined in
src/modules/history/stack.ts#81
canRedo
canRedo(): boolean
Returns
boolean
Implementation of
Defined in
jodit/src/modules/history/stack.ts:85
Previous
Next