MCPcopy Create free account
hub / github.com/Huxpro/js-module-7day / getNodeForCharacterOffset

Function getNodeForCharacterOffset

example/webpack/bundle.js:18150–18171  ·  view source on GitHub ↗

* Get object describing the nodes which contain characters at offset. * * @param {DOMElement|DOMTextNode} root * @param {number} offset * @return {?object}

(root, offset)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

setModernOffsetsFunction · 0.70

Calls 2

getLeafNodeFunction · 0.70
getSiblingNodeFunction · 0.70

Tested by

no test coverage detected