AttributeMap
Documentation / editor / AttributeMap
compose()​
function compose(
a: AttributeMap,
b: AttributeMap,
keepNull?: boolean): AttributeMap;
Defined in: editor/delta/AttributeMap.ts:22
Parameters​
Parameter | Type |
---|---|
| |
| |
|
|
Returns​
diff()​
function diff(a: AttributeMap, b: AttributeMap): AttributeMap;
Defined in: editor/delta/AttributeMap.ts:55
Parameters​
Parameter | Type |
---|---|
| |
|
Returns​
invert()​
function invert(attr: AttributeMap, base: AttributeMap): AttributeMap;
Defined in: editor/delta/AttributeMap.ts:82
Parameters​
Parameter | Type |
---|---|
| |
|
Returns​
transform()​
function transform(
a: AttributeMap,
b: AttributeMap,
priority: boolean): AttributeMap;
Defined in: editor/delta/AttributeMap.ts:105
Parameters​
Parameter | Type | Default value |
---|---|---|
|
| |
|
| |
|
|
|