Search
Preparing search index...
The search index is not available
PrimeFaces JavaScript API Docs
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
PrimeFaces JavaScript API Docs
node_modules/@types/quill
Delta
Class Delta
Hierarchy
Delta
Implements
DeltaStatic
Index
Constructors
constructor
Properties
ops
Methods
chop
compose
concat
delete
diff
each
Line
filter
for
Each
insert
length
map
partition
reduce
retain
slice
transform
transform
Position
Constructors
constructor
new
Delta
(
ops
?:
DeltaOperation
[]
|
{
ops
:
DeltaOperation
[]
}
)
:
Delta
Parameters
Optional
ops:
DeltaOperation
[]
|
{
ops
:
DeltaOperation
[]
}
Returns
Delta
Properties
Optional
ops
ops
:
undefined
|
DeltaOperation
[]
Methods
chop
chop
(
)
:
DeltaStatic
Returns
DeltaStatic
compose
compose
(
other
:
DeltaStatic
)
:
DeltaStatic
Parameters
other:
DeltaStatic
Returns
DeltaStatic
concat
concat
(
other
:
DeltaStatic
)
:
DeltaStatic
Parameters
other:
DeltaStatic
Returns
DeltaStatic
delete
delete
(
length
:
number
)
:
DeltaStatic
Parameters
length:
number
Returns
DeltaStatic
diff
diff
(
other
:
DeltaStatic
, index
?:
number
)
:
DeltaStatic
Parameters
other:
DeltaStatic
Optional
index:
number
Returns
DeltaStatic
each
Line
each
Line
(
predicate
:
(
line
:
DeltaStatic
, attributes
:
StringMap
, idx
:
number
)
=>
any
, newline
?:
string
)
:
DeltaStatic
Parameters
predicate:
(
line
:
DeltaStatic
, attributes
:
StringMap
, idx
:
number
)
=>
any
(
line
:
DeltaStatic
, attributes
:
StringMap
, idx
:
number
)
:
any
Parameters
line:
DeltaStatic
attributes:
StringMap
idx:
number
Returns
any
Optional
newline:
string
Returns
DeltaStatic
filter
filter
(
predicate
:
(
op
:
DeltaOperation
)
=>
boolean
)
:
DeltaOperation
[]
Parameters
predicate:
(
op
:
DeltaOperation
)
=>
boolean
(
op
:
DeltaOperation
)
:
boolean
Parameters
op:
DeltaOperation
Returns
boolean
Returns
DeltaOperation
[]
for
Each
for
Each
(
predicate
:
(
op
:
DeltaOperation
)
=>
void
)
:
void
Parameters
predicate:
(
op
:
DeltaOperation
)
=>
void
(
op
:
DeltaOperation
)
:
void
Parameters
op:
DeltaOperation
Returns
void
Returns
void
insert
insert
(
text
:
any
, attributes
?:
StringMap
)
:
DeltaStatic
Parameters
text:
any
Optional
attributes:
StringMap
Returns
DeltaStatic
length
length
(
)
:
number
Returns
number
map
map<T>
(
predicate
:
(
op
:
DeltaOperation
)
=>
T
)
:
T
[]
Type parameters
T
Parameters
predicate:
(
op
:
DeltaOperation
)
=>
T
(
op
:
DeltaOperation
)
:
T
Parameters
op:
DeltaOperation
Returns
T
Returns
T
[]
partition
partition
(
predicate
:
(
op
:
DeltaOperation
)
=>
boolean
)
:
[
DeltaOperation
[]
,
DeltaOperation
[]
]
Parameters
predicate:
(
op
:
DeltaOperation
)
=>
boolean
(
op
:
DeltaOperation
)
:
boolean
Parameters
op:
DeltaOperation
Returns
boolean
Returns
[
DeltaOperation
[]
,
DeltaOperation
[]
]
reduce
reduce<T>
(
predicate
:
(
acc
:
T
, curr
:
DeltaOperation
, idx
:
number
, arr
:
DeltaOperation
[]
)
=>
T
, initial
:
T
)
:
T
Type parameters
T
Parameters
predicate:
(
acc
:
T
, curr
:
DeltaOperation
, idx
:
number
, arr
:
DeltaOperation
[]
)
=>
T
(
acc
:
T
, curr
:
DeltaOperation
, idx
:
number
, arr
:
DeltaOperation
[]
)
:
T
Parameters
acc:
T
curr:
DeltaOperation
idx:
number
arr:
DeltaOperation
[]
Returns
T
initial:
T
Returns
T
retain
retain
(
length
:
number
, attributes
?:
StringMap
)
:
DeltaStatic
Parameters
length:
number
Optional
attributes:
StringMap
Returns
DeltaStatic
slice
slice
(
start
?:
number
, end
?:
number
)
:
DeltaStatic
Parameters
Optional
start:
number
Optional
end:
number
Returns
DeltaStatic
transform
transform
(
index
:
number
)
:
number
transform
(
other
:
DeltaStatic
, priority
:
boolean
)
:
DeltaStatic
Parameters
index:
number
Returns
number
Parameters
other:
DeltaStatic
priority:
boolean
Returns
DeltaStatic
transform
Position
transform
Position
(
index
:
number
)
:
number
Parameters
index:
number
Returns
number
Modules
node_
modules/@types/quill
default
Delta
constructor
ops
chop
compose
concat
delete
diff
each
Line
filter
for
Each
insert
length
map
partition
reduce
retain
slice
transform
transform
Position
Quill
Range
Static
Bounds
Static
Clipboard
Static
Delta
Static
Event
Emitter
Key
Keyboard
Static
Optional
Attributes
Quill
Options
Static
String
Map
Delta
Operation
Editor
Change
Handler
Selection
Change
Handler
Sources
Text
Change
Handler
Generated using
TypeDoc