MCPcopy
hub / github.com/kimlimjustin/xplorer / getSelected

Function getSelected

src/Components/Files/File Operation/select.ts:152–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 * @returns {NodeListOf<HTMLElement>}
151 */
152const getSelected = (): NodeListOf<HTMLElement> => {
153 return document.querySelectorAll<HTMLElement>('.selected');
154};
155
156const arrowRightHandler = (e: KeyboardEvent, hideHiddenFiles: boolean): void => {
157 if (latestShiftSelected && elementIndex(latestShiftSelected) < elementIndex(latestSelected)) {

Callers 4

KeyUpShortcutsHandlerFunction · 0.90
KeyDownShortcutsHandlerFunction · 0.90
ContextMenuFunction · 0.90
MultipleSelectedMenuFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected