MCPcopy Index your code

hub / github.com/react-component/select / functions

Functions201 in github.com/react-component/select

↓ 73 callersFunctionkeyDown
(element: HTMLElement, keyCode: number)
tests/utils/common.ts:102
↓ 63 callersFunctiontoggleOpen
(wrapper: any)
tests/utils/common.ts:19
↓ 57 callersFunctionexpectOpen
(wrapper: any, open: boolean = true)
tests/utils/common.ts:4
↓ 33 callersFunctionselectItem
(wrapper: any, index: number = 0)
tests/utils/common.ts:27
↓ 32 callersFunctionfindSelection
(wrapper: any, index: number = 0)
tests/utils/common.ts:35
↓ 17 callersFunctiongenerateList
({ options, values, ref, ...props }: any)
tests/OptionList.test.tsx:44
↓ 14 callersFunctioninjectRunAllTimers
(jest: Jest)
tests/utils/common.ts:82
↓ 14 callersFunctionrenderDemo
(open: boolean)
tests/Select.test.tsx:873
↓ 7 callersFunctiononSearch
(value: string)
tests/Combobox.test.tsx:292
↓ 6 callersFunctiongenSelect
(props?: Partial<SelectProps>)
tests/Select.test.tsx:45
↓ 6 callersFunctiongetSvg
(path)
docs/examples/custom-icon.tsx:37
↓ 5 callersFunctiongetSeparatedContent
(text: string, tokens: string[], end?: number)
src/utils/valueUtil.ts:118
↓ 5 callersFunctionkeyUp
(element: HTMLElement, keyCode: number)
tests/utils/common.ts:113
↓ 5 callersFunctiontriggerChange
(values: DraftValueType)
src/Select.tsx:466
↓ 4 callersFunctionallowClearTest
(mode: any, value: any)
tests/shared/allowClearTest.tsx:5
↓ 4 callersFunctioncreateSelect
(props?: Partial<SelectProps>)
tests/Combobox.test.tsx:121
↓ 4 callersFunctionfetch
(value, callback)
docs/examples/common/tbFetchSuggest.tsx:7
↓ 4 callersFunctionfocusTest
(mode: any, props?: any)
tests/shared/focusTest.tsx:7
↓ 4 callersFunctionremoveSelection
(wrapper: any, index: number = 0)
tests/utils/common.ts:57
↓ 4 callersFunctionrenderDemo
(suffixIcon?: React.ReactNode)
tests/Multiple.test.tsx:363
↓ 4 callersFunctionsetActive
(index: number, fromKeyboard = false)
src/OptionList.tsx:117
↓ 4 callersFunctiontoArray
(value: T | T[])
src/utils/commonUtil.ts:3
↓ 4 callersFunctiontoggleMaxTagCount
(count: number | 'responsive')
docs/examples/tags.tsx:30
↓ 4 callersFunctiontriggerSelect
(val: RawValueType, selected: boolean, type?: DisplayInfoType)
src/Select.tsx:508
↓ 4 callersFunctionwaitFakeTimer
(advanceTime = 1000, times = 20)
tests/utils/common.ts:127
↓ 3 callersFunctionblurTest
(mode: any)
tests/shared/blurTest.tsx:7
↓ 3 callersFunctionconvertChildrenToData
( nodes: React.ReactNode, optionOnly: boolean = false, )
src/utils/legacyUtil.ts:16
↓ 3 callersFunctionfillFieldNames
(fieldNames: FieldNames | undefined, childrenAsData: boolean)
src/utils/valueUtil.ts:27
↓ 3 callersFunctionflattenOptions
( options: OptionType[], { fieldNames, childrenAsData }: { fieldNames?: FieldNames; childrenAsData?: boole
src/utils/valueUtil.ts:44
↓ 3 callersFunctiongenOpts
(OptLabelName, groupLabel)
tests/Select.test.tsx:116
↓ 3 callersFunctiongetEnabledActiveIndex
(index: number, offset: number = 1)
src/OptionList.tsx:100
↓ 3 callersFunctionincludes
(test: React.ReactNode, search: string)
src/hooks/useFilterOptions.ts:6
↓ 3 callersFunctioninjectPropsWithOption
(option: T)
src/utils/valueUtil.ts:101
↓ 3 callersFunctioninputFilterTest
(mode: any)
tests/shared/inputFilterTest.tsx:6
↓ 3 callersFunctionisMultiple
(mode: Mode)
src/BaseSelect/index.tsx:214
↓ 3 callersFunctionisValidCount
(value?: number)
src/utils/valueUtil.ts:23
↓ 3 callersFunctiononDisplayValuesChange
(nextValues, info)
src/Select.tsx:560
↓ 3 callersFunctiononSelectValue
(value: RawValueType)
src/OptionList.tsx:178
↓ 3 callersFunctionopenControlledTest
(mode: any)
tests/shared/openControlledTest.tsx:7
↓ 3 callersFunctionrenderDemo
(disabled?: boolean)
tests/shared/allowClearTest.tsx:17
↓ 3 callersFunctionrenderDemo
(props?: any)
tests/shared/blurTest.tsx:15
↓ 3 callersFunctionrenderItem
(index: number)
src/OptionList.tsx:282
↓ 3 callersFunctionscrollIntoView
(args: number | ScrollConfig)
src/OptionList.tsx:84
↓ 3 callersFunctionsetLabelOptions
( labelOptionsMap: Map<React.ReactNode, OptionType>, option: OptionType, key: string | numbe
src/hooks/useOptions.ts:27
↓ 3 callersFunctiontoggleMaxTagCount
(count: number)
docs/examples/custom-tags.tsx:21
↓ 3 callersFunctionuseLayoutEffect
(effect: React.EffectCallback, deps?: React.DependencyList)
src/hooks/useLayoutEffect.ts:8
↓ 3 callersFunctionuseLock
(duration: number = 250)
src/hooks/useLock.ts:9
↓ 2 callersFunctioncreateSelect
(props)
tests/Tags.test.tsx:411
↓ 2 callersFunctioncustomizeRenderSelector
( value: RawValueType, content: React.ReactNode, itemDisabled: boolean, closable?: boolean,
src/Selector/MultipleSelector.tsx:128
↓ 2 callersFunctiondefaultRenderSelector
( item: DisplayValueType, content: React.ReactNode, itemDisabled: boolean, closable?: boolean,
src/Selector/MultipleSelector.tsx:101
↓ 2 callersFunctiondynamicChildrenTest
(mode: any, props?: Partial<SelectProps>)
tests/shared/dynamicChildrenTest.tsx:7
↓ 2 callersFunctiongenData
(len: number)
docs/examples/scroll-loading.tsx:5
↓ 2 callersFunctiongetItemAriaProps
(item: FlattenOptionData<BaseOptionType>, index: number)
src/OptionList.tsx:273
↓ 2 callersFunctiongetKey
(data: BaseOptionType, index: number)
src/utils/valueUtil.ts:6
↓ 2 callersFunctiongetLabel
(item: Record<string, any>)
src/OptionList.tsx:271
↓ 2 callersFunctiongetSelectEnt
()
src/Select.tsx:509
↓ 2 callersFunctiongetTitle
(item: DisplayValueType)
src/utils/commonUtil.ts:29
↓ 2 callersFunctionhoverTest
(mode: any)
tests/shared/hoverTest.tsx:5
↓ 2 callersFunctionisTitleType
(content: any)
src/OptionList.tsx:28
↓ 2 callersFunctionisTitleType
(title: any)
src/utils/commonUtil.ts:25
↓ 2 callersFunctionkeyDownTest
(mode: any)
tests/shared/keyDownTest.tsx:6
↓ 2 callersFunctionmountSelect
(props?: Partial<SelectProps<any>>)
tests/Field.test.tsx:21
↓ 2 callersFunctiononInternalSearch
(searchText: string, fromTyping: boolean, isCompositing: boolean)
src/BaseSelect/index.tsx:406
↓ 2 callersFunctiononMouseDown
(event)
src/Selector/index.tsx:245
↓ 2 callersFunctiononSelect
()
tests/Select.test.tsx:2386
↓ 2 callersFunctionremoveSelectedTest
(mode: any)
tests/shared/removeSelectedTest.tsx:7
↓ 2 callersFunctionrenderDemo
(props?: any)
tests/Tags.test.tsx:368
↓ 2 callersFunctionrenderDemo
(open = true)
tests/shared/openControlledTest.tsx:9
↓ 2 callersFunctionthrowOptionValue
(mode: any)
tests/shared/throwOptionValue.tsx:6
↓ 2 callersFunctiontriggerOnSearch
(value: string)
src/Selector/index.tsx:186
↓ 2 callersFunctionuseBaseProps
()
src/hooks/useBaseProps.ts:17
↓ 2 callersFunctionuseRefFunc
(callback: T)
src/hooks/useRefFunc.ts:7
↓ 1 callersFunctioncancelLatest
()
src/hooks/useDelayReset.ts:13
↓ 1 callersFunctionconvertNodeToOption
( node: React.ReactElement, )
src/utils/legacyUtil.ts:5
↓ 1 callersFunctiondelay
(timeout = 0)
tests/Combobox.test.tsx:17
↓ 1 callersFunctiondig
(list: OptionType[], isGroupOption: boolean)
src/utils/valueUtil.ts:57
↓ 1 callersFunctiondig
(optionList: OptionType[], isChildren = false)
src/hooks/useOptions.ts:37
↓ 1 callersFunctionexistOptions
(val: RawValueType)
src/Select.tsx:387
↓ 1 callersFunctiongetBuiltInPlacements
( dropdownMatchSelectWidth: number | boolean, )
src/SelectTrigger.tsx:7
↓ 1 callersFunctiongetInputElement
()
tests/Select.test.tsx:2390
↓ 1 callersFunctiongetUUID
()
src/hooks/useId.ts:10
↓ 1 callersFunctionhasValue
(value)
src/utils/commonUtil.ts:16
↓ 1 callersFunctionisComboNoValue
(value)
src/utils/commonUtil.ts:21
↓ 1 callersFunctionisPlatformMac
()
src/utils/platformUtil.ts:2
↓ 1 callersFunctionisRawValue
(value: DraftValueType)
src/Select.tsx:167
↓ 1 callersFunctionisValidateOpenKey
(currentKeyCode: number)
src/utils/keyUtil.ts:4
↓ 1 callersFunctionlabelRender
(props: LabelInValueType)
tests/Select.test.tsx:2299
↓ 1 callersFunctionmaxTagPlaceholder
(omittedValues)
tests/shared/maxTagRenderTest.tsx:75
↓ 1 callersFunctiononChange
(value, option)
docs/examples/optgroup.tsx:6
↓ 1 callersFunctiononClose
(event?: React.MouseEvent)
src/Selector/MultipleSelector.tsx:169
↓ 1 callersFunctiononInputChange
(event)
src/Selector/index.tsx:205
↓ 1 callersFunctiononPreventMouseDown
(event: React.MouseEvent)
src/Selector/MultipleSelector.tsx:36
↓ 1 callersFunctionrecursiveOptions
(optionsList: DefaultOptionType[], inGroup: boolean = false)
src/utils/warningPropsUtil.ts:164
↓ 1 callersFunctionseparate
(str: string, [token, ...restTokens]: string[])
src/utils/valueUtil.ts:123
↓ 1 callersFunctionsorter
(inputOptions: DefaultOptionType[])
src/Select.tsx:434
↓ 1 callersFunctiontagRender
(props: any)
tests/Tags.test.tsx:277
↓ 1 callersFunctionuseAllowClear
( prefixCls: string, onClearMouseDown: React.MouseEventHandler<HTMLSpanElement>, displayValues: DisplayV
src/hooks/useAllowClear.tsx:5
↓ 1 callersFunctionuseDelayReset
( timeout: number = 10, )
src/hooks/useDelayReset.ts:7
↓ 1 callersFunctionuseId
(id?: string)
src/hooks/useId.ts:25
↓ 1 callersFunctionuseOptions
( options: OptionType[], children: React.ReactNode, fieldNames: FieldNames, optionFilterProp: string,
src/hooks/useOptions.ts:9
next →1–100 of 201, ranked by callers