MCPcopy Create free account
hub / github.com/adobe/react-spectrum / pageUp

Function pageUp

packages/react-aria/src/selection/useSelectableCollection.ts:342–350  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

340 };
341
342 let pageUp = (e: KeyboardEvent) => {
343 if (delegate.getKeyPageAbove && manager.focusedKey != null) {
344 let nextKey = delegate.getKeyPageAbove(manager.focusedKey);
345 if (nextKey != null) {
346 return navigateToKey(e, nextKey);
347 }
348 }
349 return false;
350 };
351
352 let aHandler = () => {
353 if (manager.selectionMode === 'multiple' && disallowSelectAll !== true) {

Callers

nothing calls this directly

Calls 2

navigateToKeyFunction · 0.85
getKeyPageAboveMethod · 0.65

Tested by

no test coverage detected