MCPcopy Create free account

hub / github.com/downshift-js/downshift / functions

Functions332 in github.com/downshift-js/downshift

↓ 2 callersFunctiongetLabel
()
src/hooks/testUtils/interactions.ts:10
↓ 2 callersFunctiongetMenu
()
src/hooks/testUtils/interactions.ts:13
↓ 2 callersFunctiongetStatusDiv
* Get the status node or create it if it does not already exist.
src/utils/setA11yStatus.ts:10
↓ 2 callersFunctiongetTagGroup
()
src/hooks/useTagGroup/__tests__/utils/renderTagGroup.tsx:18
↓ 2 callersMethodinternalClearTimeouts
* Clear all running timeouts
src/downshift.js:182
↓ 2 callersFunctionisDOMElement
* @param {Object} element (P)react element * @return {Boolean} whether it's a DOM element
src/utils.legacy.js:62
↓ 2 callersFunctionisItemDisabled
()
src/utils/__tests__/getHighlightedIndex.test.ts:4
↓ 2 callersFunctionisItemDisabled
(_item, index)
src/hooks/useSelect/__tests__/memo.test.js:65
↓ 2 callersFunctionisKeyDownOperationPermitted
* Returns true if dropdown keydown operation is permitted. Should not be * allowed on keydown with modifier keys (ctrl, alt, shift, meta), on * inpu
src/hooks/useMultipleSelection/utils.js:51
↓ 2 callersFunctionisOrContainsNode
* @param parent the parent node * @param child the child node * @param environment The window context where downshift renders. * @return Whether th
src/utils/targetWithinDownshift.ts:41
↓ 2 callersFunctionitemToKey
(item: unknown)
src/hooks/utils/dropdownDefaultProps.ts:8
↓ 2 callersMethodmoveHighlightedIndex
(amount, otherStateToSet)
src/downshift.js:253
↓ 2 callersFunctionrenderDownshift
({props} = {})
src/__tests__/downshift.get-label-props.js:22
↓ 2 callersFunctionrenderFn
()
src/__tests__/downshift.props.js:119
↓ 2 callersFunctionunwrapArray
* Takes an argument and if it's an array, returns the first item in the array * otherwise returns the argument * @param {*} arg the maybe-array * @
src/utils.legacy.js:49
↓ 2 callersFunctionvalidateGetMenuPropsCalledCorrectly
(node, {refKey})
src/downshift.js:1267
↓ 1 callersFunctioncancel
()
src/utils/debounce.ts:12
↓ 1 callersFunctionchildren
({getInputProps})
other/misc-tests/__tests__/preact.js:68
↓ 1 callersFunctioncleanupStatusDiv
(document: Document | undefined)
src/utils/setA11yStatus.ts:53
↓ 1 callersFunctiondefaultRenderFn
({ getInputProps, getToggleButtonProps, getLabelProps, getMenuProps, getItemProps, })
src/__tests__/downshift.aria.js:46
↓ 1 callersFunctiongetA11yStatusMessage
* Default implementation for status message. Only added when menu is open. * Will specify if there are results in the list, and if so, how many, * a
src/utils.legacy.js:24
↓ 1 callersFunctiongetA11yStatusMessage
({name}: {name: string})
src/hooks/utils/__tests__/useA11yMessageStatus.test.ts:27
↓ 1 callersFunctiongetFilteredItems
(selectedItems: string[])
test/useMultipleSelect.test.tsx:24
↓ 1 callersFunctiongetFilteredItems
(selectedItems: string[], inputValue: string)
docusaurus/pages/useMultipleCombobox.tsx:9
↓ 1 callersFunctiongetFilteredItems
(selectedItems: string[])
docusaurus/pages/useMultipleSelect.tsx:9
↓ 1 callersFunctiongetInitialHighlightedIndex
* Returns the new highlightedIndex based on the initialHighlightedIndex prop, if not disabled. * @param props Props from useCombobox or useSelect. *
src/hooks/utils/getInitialState.ts:61
↓ 1 callersFunctiongetInitialProps
()
src/hooks/utils/__tests__/useMouseAndTouchTracker.test.ts:16
↓ 1 callersFunctiongetItemId
src/hooks/useCombobox/__tests__/getItemProps.test.js:68
↓ 1 callersFunctiongetMergedProps
( userProps: UseTagGroupProps<Item>, )
src/hooks/useTagGroup/utils/getMergedProps.ts:5
↓ 1 callersFunctiongetTagId
(index: number)
src/hooks/useTagGroup/__tests__/getTagProps.test.ts:33
↓ 1 callersFunctiongetTagId
(index)
src/hooks/useTagGroup/__tests__/props.test.ts:106
↓ 1 callersFunctiongetTagId
(index: number)
src/hooks/useTagGroup/__tests__/getTagRemoveProps.test.ts:42
↓ 1 callersFunctiongetTagsRemoves
()
src/hooks/useTagGroup/__tests__/utils/renderTagGroup.tsx:22
↓ 1 callersFunctioninputHandleChange
( event: | React.ChangeEvent<HTMLInputElement> | {nativeEvent: {text: string}},
src/hooks/useCombobox/index.ts:455
↓ 1 callersFunctioninvokeOnChangeHandler
(key: keyof S, action: Action<S, A, P>, props: P, state: S, newState: S)
src/hooks/utils/callOnChangeProps.ts:30
↓ 1 callersFunctionisItemDisabled
(_item, index)
src/hooks/useCombobox/__tests__/memo.test.js:66
↓ 1 callersFunctionisPlainObject
* Simple check if the value passed is object literal * @param {*} obj any things * @return {Boolean} whether it's object literal
src/utils.legacy.js:127
↓ 1 callersFunctionisStateEqual
(prev: {count: number}, next: {count: number})
src/hooks/utils/__tests__/useEnhancedReducer.test.ts:61
↓ 1 callersFunctionitemToString
(item: unknown)
src/hooks/utils/dropdownDefaultProps.ts:5
↓ 1 callersFunctionmakeTouch
(cx: number, cy: number)
e2e/combobox.spec.ts:141
↓ 1 callersFunctionmouseDownAndUp
(node)
src/__tests__/downshift.props.js:218
↓ 1 callersMethodrender
()
src/__tests__/portal-support.js:15
↓ 1 callersFunctionrenderDownshift
({getInputProps, getLabelProps, getItemProps})
src/__tests__/utils.reset-id-counter.r18.js:13
↓ 1 callersFunctionrenderDownshift
({getInputProps, getLabelProps, getItemProps})
src/__tests__/utils.reset-id-counter.js:14
↓ 1 callersFunctionrenderDownshift
(items)
src/__tests__/downshift.focus-restoration.js:27
↓ 1 callersFunctionrenderItem
(props)
src/hooks/useCombobox/__tests__/memo.test.js:63
↓ 1 callersFunctionrenderItem
(props)
src/hooks/useSelect/__tests__/memo.test.js:62
↓ 1 callersFunctionrequiredProp
* Throws a helpful error message for required properties. Useful * to be used as a default in destructuring or object params. * @param {String} fnNa
src/utils.legacy.js:96
↓ 1 callersMethodscrollHighlightedItemIntoView
()
src/downshift.js:245
↓ 1 callersMethodshouldScroll
(prevState, prevProps)
src/downshift.js:1156
↓ 1 callersFunctionuseControlledReducer
( reducer: Reducer<S, A>, props: P, createInitialState: (props: P) => S, isStateEqual: (prev: S, next:
src/hooks/utils/useControlledReducer.ts:14
↓ 1 callersFunctionuseRovingTagFocus
( activeIndex: number, itemsLength: number, getTagId: NonNullable<UseTagGroupProps<unknown>['getTagId']>
src/hooks/useTagGroup/utils/useRovingTagFocus.ts:7
↓ 1 callersFunctionuseTagGroupReducer
( state: UseTagGroupState<Item>, action: UseTagGroupReducerAction<Item> & { props: UseTagGroupMergedPr
src/hooks/useTagGroup/reducer.ts:8
↓ 1 callersFunctionvalidateGetRootPropsCalledCorrectly
(element, {refKey})
src/downshift.js:1276
Function' '
(event: KeyboardEvent)
src/hooks/useSelect/index.ts:239
Method' '
(event)
src/downshift.js:622
FunctionArrowDown
(event: KeyboardEvent)
src/hooks/useCombobox/index.ts:168
FunctionArrowDown
(event: KeyboardEvent)
src/hooks/useSelect/index.ts:175
MethodArrowDown
(event)
src/downshift.js:519
FunctionArrowUp
(event: KeyboardEvent)
src/hooks/useCombobox/index.ts:175
FunctionArrowUp
(event: KeyboardEvent)
src/hooks/useSelect/index.ts:183
MethodArrowUp
(event)
src/downshift.js:554
FunctionBackspace
()
src/hooks/useMultipleSelection/index.js:106
FunctionComboBox
()
test/downshift.test.tsx:21
FunctionComboBox
()
docusaurus/pages/combobox.tsx:7
FunctionCustomList
({isOpen, children})
test/custom.test.tsx:14
FunctionCustomListItem
({isSelected, children})
test/custom.test.tsx:20
FunctionDelete
()
src/hooks/useMultipleSelection/index.js:101
FunctionDiv
({innerRef, ...props})
other/misc-tests/__tests__/preact.js:47
FunctionDocs
()
docusaurus/pages/index.tsx:3
FunctionDropdownCombobox
()
test/useCombobox.test.tsx:21
FunctionDropdownCombobox
({ renderSpy, renderItem, ...props }: DropdownComboboxProps)
src/hooks/useCombobox/__tests__/utils/renderCombobox.tsx:19
FunctionDropdownCombobox
()
docusaurus/pages/useCombobox.tsx:6
FunctionDropdownCombobox
()
docusaurus/pages/useCombobox_compiled.jsx:12
FunctionDropdownMultipleCombobox
()
docusaurus/pages/useMultipleCombobox.tsx:19
FunctionDropdownMultipleSelect
()
test/useMultipleSelect.test.tsx:28
FunctionDropdownMultipleSelect
()
docusaurus/pages/useMultipleSelect.tsx:13
FunctionDropdownSelect
()
test/useSelect.test.tsx:22
FunctionDropdownSelect
({ renderSpy, renderItem, ...props }: DropdownSelectProps)
src/hooks/useSelect/__tests__/utils/renderSelect.tsx:20
FunctionDropdownSelect
()
docusaurus/pages/useSelect.tsx:6
FunctionEnd
(event: KeyboardEvent)
src/hooks/useCombobox/index.ts:192
FunctionEnd
(event: KeyboardEvent)
src/hooks/useSelect/index.ts:198
MethodEnd
(event)
src/downshift.js:658
FunctionEnter
(event: KeyboardEvent)
src/hooks/useCombobox/index.ts:217
FunctionEnter
(event: KeyboardEvent)
src/hooks/useSelect/index.ts:212
MethodEnter
(event)
src/downshift.js:589
FunctionEscape
(event: KeyboardEvent)
src/hooks/useCombobox/index.ts:202
FunctionEscape
()
src/hooks/useSelect/index.ts:205
MethodEscape
(event)
src/downshift.js:608
FunctionHome
(event: KeyboardEvent)
src/hooks/useCombobox/index.ts:182
FunctionHome
(event: KeyboardEvent)
src/hooks/useSelect/index.ts:191
MethodHome
(event)
src/downshift.js:630
FunctionMyComponent
()
src/__tests__/downshift.lifecycle.js:27
FunctionPageDown
(event: KeyboardEvent)
src/hooks/useCombobox/index.ts:241
FunctionPageDown
(event: KeyboardEvent)
src/hooks/useSelect/index.ts:230
FunctionPageUp
(event: KeyboardEvent)
src/hooks/useCombobox/index.ts:232
FunctionPageUp
(event: KeyboardEvent)
src/hooks/useSelect/index.ts:221
FunctionRootView
({innerRef, ...rest})
other/react-native/__tests__/render-tests.js:10
FunctionTagGroup
()
test/useTagGroup.test.tsx:24
FunctionTagGroup
(props: Partial<UseTagGroupProps<string>> = {})
src/hooks/useTagGroup/__tests__/utils/renderTagGroup.tsx:50
← previousnext →101–200 of 332, ranked by callers