MCPcopy Create free account
hub / github.com/JackPu/freleap.github.io / getModernOffsetsFromPoints

Function getModernOffsetsFromPoints

react-core-loading-spinner/bundle.js:14806–14873  ·  view source on GitHub ↗

* Returns {start, end} where `start` is the character/codepoint index of * (anchorNode, anchorOffset) within the textContent of `outerNode`, and * `end` is the index of (focusNode, focusOffset). * * Returns null if you pass in garbage input but we should probably just crash. * * Exported

(outerNode, anchorNode, anchorOffset, focusNode$$1, focusOffset)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getOffsetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected