weasel API - v0.8.0
Preparing search index...
Journal
Interface Journal
interface
Journal
{
forkedAtEntryId
:
number
;
targetId
:
string
|
undefined
;
applyBatch
(
ops
:
Op
[]
,
label
:
string
)
:
void
;
cancel
()
:
void
;
canRedo
()
:
boolean
;
canUndo
()
:
boolean
;
commit
(
label
:
string
)
:
void
;
entries
()
:
{
redo
:
HistoryEntry
[]
;
undo
:
HistoryEntry
[]
}
;
isActive
()
:
boolean
;
redo
()
:
void
;
suspend
()
:
void
;
undo
()
:
void
;
}
Index
Properties
forked
At
Entry
Id
target
Id
Methods
apply
Batch
cancel
can
Redo
can
Undo
commit
entries
is
Active
redo
suspend
undo
Properties
Readonly
forked
At
Entry
Id
forkedAtEntryId
:
number
Readonly
target
Id
targetId
:
string
|
undefined
Methods
apply
Batch
applyBatch
(
ops
:
Op
[]
,
label
:
string
)
:
void
Parameters
ops
:
Op
[]
label
:
string
Returns
void
cancel
cancel
()
:
void
Returns
void
can
Redo
canRedo
()
:
boolean
Returns
boolean
can
Undo
canUndo
()
:
boolean
Returns
boolean
commit
commit
(
label
:
string
)
:
void
Parameters
label
:
string
Returns
void
entries
entries
()
:
{
redo
:
HistoryEntry
[]
;
undo
:
HistoryEntry
[]
}
Returns
{
redo
:
HistoryEntry
[]
;
undo
:
HistoryEntry
[]
}
is
Active
isActive
()
:
boolean
Returns
boolean
redo
redo
()
:
void
Returns
void
suspend
suspend
()
:
void
Returns
void
undo
undo
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
forked
At
Entry
Id
target
Id
Methods
apply
Batch
cancel
can
Redo
can
Undo
commit
entries
is
Active
redo
suspend
undo
weasel API - v0.8.0
Loading...