Pixel Data JS - v0.28.0
Preparing search index...
HistoryManager
Class HistoryManager
Index
Constructors
constructor
Properties
listeners
max
Steps
redo
Stack
undo
Stack
Accessors
can
Redo
can
Undo
Methods
clear
Redo
Stack
commit
notify
redo
subscribe
undo
Constructors
constructor
new
HistoryManager
(
maxSteps
?:
number
)
:
HistoryManager
Parameters
maxSteps
:
number
= 50
Returns
HistoryManager
Properties
Readonly
listeners
listeners
:
Set
<
()
=>
void
>
max
Steps
maxSteps
:
number
= 50
Readonly
redo
Stack
redoStack
:
HistoryAction
[]
Readonly
undo
Stack
undoStack
:
HistoryAction
[]
Accessors
can
Redo
get
canRedo
()
:
boolean
Returns
boolean
can
Undo
get
canUndo
()
:
boolean
Returns
boolean
Methods
clear
Redo
Stack
clearRedoStack
()
:
void
Returns
void
commit
commit
(
action
:
HistoryAction
)
:
void
Parameters
action
:
HistoryAction
Returns
void
notify
notify
()
:
void
Returns
void
redo
redo
()
:
void
Returns
void
subscribe
subscribe
(
fn
:
()
=>
void
)
:
()
=>
boolean
Parameters
fn
:
()
=>
void
Returns
()
=>
boolean
undo
undo
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
listeners
max
Steps
redo
Stack
undo
Stack
Accessors
can
Redo
can
Undo
Methods
clear
Redo
Stack
commit
notify
redo
subscribe
undo
Pixel Data JS - v0.28.0
Loading...