@roomy-chat/sdk
GitHub
Preparing search index...
index
UndoConfig
Type Alias UndoConfig
type
UndoConfig
=
{
excludeOriginPrefixes
?:
string
[]
;
maxUndoSteps
?:
number
;
mergeInterval
?:
number
;
onPop
?:
(
isUndo
:
boolean
,
value
:
{
cursors
:
Cursor
[]
;
value
:
Value
}
,
counterRange
:
{
end
:
number
;
start
:
number
}
,
)
=>
void
;
onPush
?:
(
isUndo
:
boolean
,
counterRange
:
{
end
:
number
;
start
:
number
}
,
event
?:
LoroEventBatch
,
)
=>
{
cursors
:
Cursor
[]
;
value
:
Value
}
;
}
Index
Properties
exclude
Origin
Prefixes?
max
Undo
Steps?
merge
Interval?
on
Pop?
on
Push?
Properties
Optional
exclude
Origin
Prefixes
excludeOriginPrefixes
?:
string
[]
Optional
max
Undo
Steps
maxUndoSteps
?:
number
Optional
merge
Interval
mergeInterval
?:
number
Optional
on
Pop
onPop
?:
(
isUndo
:
boolean
,
value
:
{
cursors
:
Cursor
[]
;
value
:
Value
}
,
counterRange
:
{
end
:
number
;
start
:
number
}
,
)
=>
void
Optional
on
Push
onPush
?:
(
isUndo
:
boolean
,
counterRange
:
{
end
:
number
;
start
:
number
}
,
event
?:
LoroEventBatch
,
)
=>
{
cursors
:
Cursor
[]
;
value
:
Value
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
exclude
Origin
Prefixes
max
Undo
Steps
merge
Interval
on
Pop
on
Push
GitHub
@roomy-chat/sdk
Loading...