MCPcopy Index your code

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

Functions31 in github.com/react-component/input

↓ 4 callersFunctiononChange
(e: React.ChangeEvent<HTMLInputElement>)
tests/index.test.tsx:231
↓ 3 callersFunctiongetInputRef
()
tests/focus.test.tsx:6
↓ 3 callersFunctiongetSegments
(val: string)
tests/count.test.tsx:5
↓ 3 callersFunctionresolveOnChange
( target: E, e: | React.ChangeEvent<E> | React.MouseEvent<HTMLElement, MouseEvent> | React.Com
src/utils/commonUtils.ts:48
↓ 2 callersFunctioncloneEvent
(event: EventType, target: Element, value: any)
src/utils/commonUtils.ts:13
↓ 2 callersFunctiontriggerChange
( e: | React.ChangeEvent<HTMLInputElement> | React.CompositionEvent<HTMLInputElement>, cur
src/Input.tsx:103
↓ 2 callersFunctiontriggerFocus
( element?: HTMLInputElement | HTMLTextAreaElement, option?: InputFocusOptions, )
src/utils/commonUtils.ts:98
↓ 1 callersFunctionfocus
(option?: InputFocusOptions)
src/Input.tsx:51
↓ 1 callersFunctiongetInputElement
()
src/Input.tsx:200
↓ 1 callersFunctiongetSuffix
()
src/Input.tsx:255
↓ 1 callersFunctionhandleReset
(e: React.MouseEvent<HTMLElement, MouseEvent>)
src/Input.tsx:189
↓ 1 callersFunctionhasAddon
(props: BaseInputProps | InputProps)
src/utils/commonUtils.ts:4
↓ 1 callersFunctionhasPrefixSuffix
(props: BaseInputProps | InputProps)
src/utils/commonUtils.ts:8
↓ 1 callersFunctionuseCount
( count?: CountConfig, showCount?: InputProps['showCount'], )
src/hooks/useCount.ts:23
FunctionDemo
()
tests/BaseInput.test.tsx:56
FunctionDemo
()
docs/examples/show-count.tsx:11
FunctionDemo
()
docs/examples/basic.tsx:6
FunctionDemo
()
docs/examples/prefix-suffix.tsx:6
FunctionDemo
()
docs/examples/addon.tsx:6
FunctionDemo
()
docs/examples/allow-clear.tsx:6
FunctionhandleBlur
(e)
src/Input.tsx:181
FunctionhandleChange
(e: ChangeEvent<HTMLInputElement>)
tests/BaseInput.test.tsx:63
FunctionhandleChange
(e: ChangeEvent<HTMLInputElement>)
docs/examples/allow-clear.tsx:9
FunctionhandleFocus
(e)
src/Input.tsx:176
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLInputElement>)
src/Input.tsx:162
FunctionhandleKeyUp
(e: React.KeyboardEvent<HTMLInputElement>)
src/Input.tsx:169
FunctionhandleReset
()
tests/BaseInput.test.tsx:59
FunctioninCountRange
(value: string, countConfig: ForcedCountConfig)
src/hooks/useCount.ts:14
FunctiononInputClick
(e)
src/BaseInput.tsx:48
FunctiononInternalChange
(e)
src/Input.tsx:146
FunctiononInternalCompositionEnd
( e: React.CompositionEvent<HTMLInputElement>, )
src/Input.tsx:152