MCPcopy
hub / github.com/preactjs/preact / getListHtml

Function getListHtml

test/browser/focus.test.jsx:142–148  ·  view source on GitHub ↗

* @param {Array } before * @param {Array } after

(before, after)

Source from the content-addressed store, hash-verified

140 * @param {Array<number | string>} after
141 */
142 function getListHtml(before, after) {
143 return div([
144 ...before.map(i => span(i)),
145 inputStr(),
146 ...after.map(i => span(i))
147 ]);
148 }
149
150 beforeEach(() => {
151 scratch = setupScratch();

Callers 1

focus.test.jsxFile · 0.85

Calls 2

divFunction · 0.90
spanFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…