TextRemoveOp Interface
A remove op in a character-level delta — a span of characters that has been deleted from the text.
This API is provided as an alpha preview and may change without notice.
For more information about our API support guarantees, see here.
Sealed
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
/** @sealed */
interface TextRemoveOp
Properties
| Property | Alerts | Modifiers | Type | Description |
|---|---|---|---|---|
| count | Alpha | readonly | number | The number of Unicode code points removed. |
| type | Alpha | readonly | "remove" | Discriminator identifying this op as a remove. |
Property Details
count
The number of Unicode code points removed.
This API is provided as an alpha preview and may change without notice.
For more information about our API support guarantees, see here.
Signature
readonly count: number;
Type: number
type
Discriminator identifying this op as a remove.
This API is provided as an alpha preview and may change without notice.
For more information about our API support guarantees, see here.
Signature
readonly type: "remove";
Type: "remove"