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

Function createSelectInputElements

test/lib/testHelper.js:1146–1162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1144 };
1145
1146 function createSelectInputElements() {
1147 var selectWrapperEl = document.createElement('span');
1148 selectCtx._selectWrapperEl = selectWrapperEl;
1149 resetSelectInputWrapperCSS(selectWrapperEl, false);
1150
1151 var textEl = document.createElement('span');
1152 textEl.className = 'test-inputs-select-text';
1153 textEl.innerHTML = getInputsTextHTML(inputDefine, '');
1154 selectWrapperEl.appendChild(textEl);
1155
1156 var selectEl = document.createElement('select');
1157 selectEl.className = 'test-inputs-select-select';
1158 selectWrapperEl.appendChild(selectEl);
1159
1160 selectCtx._el = selectWrapperEl;
1161 selectCtx._selectEl = selectEl;
1162 }
1163
1164 function resetSelectInputWrapperCSS(selectWrapperEl, disabled) {
1165 selectWrapperEl.className = 'test-inputs-select'

Callers 1

createSelectInputFunction · 0.85

Calls 2

getInputsTextHTMLFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…