MCPcopy Index your code
hub / github.com/reactopt/reactopt / setInnerText

Function setInnerText

src/index.js:80–82  ·  view source on GitHub ↗
(type, targetInfo)

Source from the content-addressed store, hash-verified

78
79 // description string for click elements
80 function setInnerText(type, targetInfo) {
81 innerText = type +': ' + targetInfo;
82 }
83 // if clicked element is '<button>', check innerText, then id, then className for descriptor
84 if (localName === 'button') {
85 if (e.target.innerText) {

Callers 1

handleMouseEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected