MCPcopy Index your code
hub / github.com/nwutils/nw-sample-apps / eltText

Function eltText

mini-code-edit/cm/lib/codemirror.js:2974–2976  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

2972
2973 // Get a node's text content.
2974 function eltText(node) {
2975 return node.textContent || node.innerText || node.nodeValue || "";
2976 }
2977 function selectInput(node) {
2978 if (ios) { // Mobile Safari apparently has a bug where select() is broken.
2979 node.selectionStart = 0;

Callers 1

updateGutterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected