Type Editor / @type-editor/dom-util / is-on-edge
is-on-edge
Functions
| Function | Description |
|---|---|
Checks if a position is at the start or end edge of a parent node. Traverses up the DOM tree from the given position to determine if it represents the very beginning or end of the parent node's content. Example typescript |