MCPcopy
hub / github.com/apache/echarts / createHr

Function createHr

test/lib/testHelper.js:1572–1584  ·  view source on GitHub ↗
(inputDefine)

Source from the content-addressed store, hash-verified

1570 }
1571
1572 function createHr(inputDefine) {
1573 var _hrWrapperEl = document.createElement('div');
1574 _hrWrapperEl.className = 'test-inputs-hr'
1575 var textEl = document.createElement('span');
1576 textEl.className = 'test-inputs-hr-text';
1577 _hrWrapperEl.appendChild(textEl);
1578 var text = textEl.innerHTML = getInputsTextHTML(inputDefine, '');
1579 textEl.style.display = text ? 'block' : 'none';
1580
1581 return {
1582 elList: [_hrWrapperEl]
1583 };
1584 }
1585
1586 } // End of initInputs
1587

Callers 1

createInputByDefineFunction · 0.85

Calls 1

getInputsTextHTMLFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…