Type Editor / @type-editor/model / types/elements/FragmentPosition
types/elements/FragmentPosition
Interfaces
| Interface | Description |
|---|---|
Represents a position within a fragment using child index and offset. This interface provides an alternative way to specify positions within a fragment, using the index of a child node and an offset within that child, rather than an absolute position. This is particularly useful for operations that need to identify both which child node contains a position and where within that node the position lies. Example typescript |