MCPcopy Create free account

hub / github.com/react-dropzone/react-dropzone / functions

Functions69 in github.com/react-dropzone/react-dropzone

↓ 55 callersFunctioncreateDtWithFiles
* createDtWithFiles creates a mock data transfer object that can be used for drop events * @param {File[]} files * @param {object} options * @param
src/index.spec.js:3782
↓ 11 callersFunctioncreateFile
(name, size, type)
src/utils/index.spec.js:617
↓ 10 callersFunctioncomposeEventHandlers
(...fns)
src/utils/index.js:211
↓ 9 callersFunctiondrainPendingTimers
* drainPendingTimers just runs pending timers wrapped in act() to avoid * getting warnings from react about side effects that happen async. * * Thi
src/index.spec.js:3765
↓ 8 callersFunctioncreateThenable
* createThenable creates a Promise that can be controlled from outside its inner scope
src/index.spec.js:3825
↓ 8 callersFunctionfocusWindow
* focusWindow triggers focus on the window
src/index.spec.js:3772
↓ 7 callersFunctionisDefined
(value)
src/utils/index.js:114
↓ 6 callersFunctioncomposeHandler
(fn)
src/index.js:923
↓ 5 callersFunctioncreateFile
* createFile creates a mock File object * @param {string} name * @param {number} size * @param {string} type
src/index.spec.js:3812
↓ 5 callersFunctionisEvtWithFiles
(event)
src/utils/index.js:166
↓ 4 callersFunctioncomposeDragHandler
(fn)
src/index.js:931
↓ 4 callersFunctionfn
()
src/index.spec.js:523
↓ 4 callersFunctionisPropagationStopped
(event)
src/utils/index.js:157
↓ 4 callersFunctionstopPropagation
(event)
src/index.js:935
↓ 4 callersFunctionui
(maxFiles)
src/index.spec.js:2979
↓ 3 callersFunctioncollectEventListenerCalls
(spy)
src/index.spec.js:562
↓ 3 callersFunctioncomposeKeyboardHandler
(fn)
src/index.js:927
↓ 3 callersFunctionuseDropzone
(props = {})
src/index.js:432
↓ 2 callersFunctioncreateFileSystemFileHandle
* createFileSystemFileHandle creates a mock [FileSystemFileHandle](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle) * @param {F
src/index.spec.js:3802
↓ 2 callersFunctionfileAccepted
(file, accept)
src/utils/index.js:90
↓ 2 callersFunctionfileMatchSize
(file, minSize, maxSize)
src/utils/index.js:101
↓ 2 callersFunctiongetTooLargeRejectionErr
(maxSize)
src/utils/index.js:33
↓ 2 callersFunctiongetTooSmallRejectionErr
(minSize)
src/utils/index.js:42
↓ 2 callersFunctionisMIMEType
(v)
src/utils/index.js:331
↓ 2 callersFunctionmatchToFiles
(fileList, files)
src/index.spec.js:2594
↓ 2 callersFunctionvalidator
(file)
src/index.spec.js:3659
↓ 1 callersFunctionacceptPropAsAcceptAttr
(accept)
src/utils/index.js:282
↓ 1 callersFunctionallFilesAccepted
({ files, accept, minSize, maxSize, multiple, maxFiles, validator, })
src/utils/index.js:130
↓ 1 callersFunctioncanUseFileSystemAccessAPI
()
src/utils/index.js:226
↓ 1 callersFunctiongetAcceptedFiles
(node)
src/index.spec.js:2587
↓ 1 callersFunctiongetInvalidTypeRejectionErr
(accept = "")
src/utils/index.js:22
↓ 1 callersFunctiongetRejectedFiles
(node)
src/index.spec.js:2589
↓ 1 callersFunctiongetRejectedFilesErrors
(node)
src/index.spec.js:2591
↓ 1 callersFunctionisAbort
(v)
src/utils/index.js:303
↓ 1 callersFunctionisDataTransferItemWithEmptyType
(file)
src/utils/index.js:73
↓ 1 callersFunctionisEdge
(userAgent)
src/utils/index.js:193
↓ 1 callersFunctionisExt
(v)
src/utils/index.js:346
↓ 1 callersFunctionisIe
(userAgent)
src/utils/index.js:187
↓ 1 callersFunctionisIeOrEdge
(userAgent = window.navigator.userAgent)
src/utils/index.js:197
↓ 1 callersFunctionisSecurityError
(v)
src/utils/index.js:317
↓ 1 callersFunctionmatchToErrorCode
(errorList, code)
src/index.spec.js:2598
↓ 1 callersFunctionpickerOptionsFromAccept
(accept)
src/utils/index.js:237
FunctionDropzone
({ children, ...opts }: DropzoneProps)
typings/tests/hook.tsx:4
FunctionFileList
({ files = [] })
src/index.spec.js:2560
FunctionRejectedFileList
({ fileRejections = [] })
src/index.spec.js:2570
Methodchildren
(state: DropzoneState)
typings/react-dropzone.d.ts:11
Functionget
()
src/index.spec.js:3815
Functionget
(t, p)
src/utils/index.spec.js:574
FunctionisKindFile
(item)
src/utils/index.js:178
Functionnoop
()
src/index.js:1101
FunctiononDocumentDragEnd
()
src/index.js:568
FunctiononDocumentDragEnter
(event)
src/index.js:544
FunctiononDocumentDragLeave
(event)
src/index.js:555
FunctiononDocumentDragOver
(event)
src/utils/index.js:183
FunctiononDocumentDrop
(event)
src/index.js:519
FunctiononDocumentDropGlobal
()
src/index.js:573
FunctiononWindowFocus
()
src/index.js:495
Functionreducer
* @param {DropzoneState} state * @param {{type: string} & DropzoneState} action * @returns {DropzoneState}
src/index.js:1050
Methodrender
()
src/index.spec.js:500
Methodrender
()
typings/tests/all.tsx:5
Methodrender
()
typings/tests/events.tsx:5
Methodrender
()
typings/tests/accept.tsx:10
Methodrender
()
typings/tests/basic.tsx:14
Methodrender
()
typings/tests/plugin.tsx:10
Methodrender
()
typings/tests/plugin.tsx:27
Methodrender
()
typings/tests/plugin.tsx:44
Methodrender
()
typings/tests/plugin.tsx:61
Methodrender
()
typings/tests/plugin.tsx:78
FunctionsetRef
(ref)
src/index.spec.js:352