MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / addTabindex

Function addTabindex

src/components/contextmenu/index.js:121–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 }
120
121 function addTabindex() {
122 /**@type {Array<HTMLLIElement>} */
123 const children = [...$el.children];
124 for (let $el of children) $el.tabIndex = "0";
125 }
126
127 function destroy() {
128 $el.remove();

Callers 1

ContextmenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected