Interface: RsUploaderProps
Props for the RsUploader component.
Extends
UploaderProps
Properties
about?
optionalabout:string
Inherited from
UploaderProps.about
accept?
optionalaccept:string
File types that can be accepted. See input accept Attribute
Inherited from
UploaderProps.accept
accessKey?
optionalaccessKey:string
Inherited from
UploaderProps.accessKey
action
action:
string
Uploading URL
Inherited from
UploaderProps.action
active?
optionalactive:boolean
A button can show it is currently the active user selection
Inherited from
UploaderProps.active
appearance?
optionalappearance:Appearance
A button can have different appearances.
Inherited from
UploaderProps.appearance
aria-activedescendant?
optionalaria-activedescendant:string
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
Inherited from
UploaderProps.aria-activedescendant
aria-atomic?
optionalaria-atomic:Booleanish
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
Inherited from
UploaderProps.aria-atomic
aria-autocomplete?
optionalaria-autocomplete:"none"|"list"|"inline"|"both"
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
Inherited from
UploaderProps.aria-autocomplete
aria-braillelabel?
optionalaria-braillelabel:string
Defines a string value that labels the current element, which is intended to be converted into Braille.
See
aria-label.
Inherited from
UploaderProps.aria-braillelabel
aria-brailleroledescription?
optionalaria-brailleroledescription:string
Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
See
aria-roledescription.
Inherited from
UploaderProps.aria-brailleroledescription
aria-busy?
optionalaria-busy:Booleanish
Inherited from
UploaderProps.aria-busy
aria-checked?
optionalaria-checked:boolean|"true"|"false"|"mixed"
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
See
- aria-pressed
- aria-selected.
Inherited from
UploaderProps.aria-checked
aria-colcount?
optionalaria-colcount:number
Defines the total number of columns in a table, grid, or treegrid.
See
aria-colindex.
Inherited from
UploaderProps.aria-colcount
aria-colindex?
optionalaria-colindex:number
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
See
- aria-colcount
- aria-colspan.
Inherited from
UploaderProps.aria-colindex
aria-colindextext?
optionalaria-colindextext:string
Defines a human readable text alternative of aria-colindex.
See
aria-rowindextext.
Inherited from
UploaderProps.aria-colindextext
aria-colspan?
optionalaria-colspan:number
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
See
- aria-colindex
- aria-rowspan.
Inherited from
UploaderProps.aria-colspan
aria-controls?
optionalaria-controls:string
Identifies the element (or elements) whose contents or presence are controlled by the current element.
See
aria-owns.
Inherited from
UploaderProps.aria-controls
aria-current?
optionalaria-current:boolean|"date"|"time"|"page"|"true"|"false"|"step"|"location"
Indicates the element that represents the current item within a container or set of related elements.
Inherited from
UploaderProps.aria-current
aria-describedby?
optionalaria-describedby:string
Identifies the element (or elements) that describes the object.
See
aria-labelledby
Inherited from
UploaderProps.aria-describedby
aria-description?
optionalaria-description:string
Defines a string value that describes or annotates the current element.
See
related aria-describedby.
Inherited from
UploaderProps.aria-description
aria-details?
optionalaria-details:string
Identifies the element that provides a detailed, extended description for the object.
See
aria-describedby.
Inherited from
UploaderProps.aria-details
aria-disabled?
optionalaria-disabled:Booleanish
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
See
- aria-hidden
- aria-readonly.
Inherited from
UploaderProps.aria-disabled
aria-dropeffect?
optionalaria-dropeffect:"link"|"none"|"copy"|"move"|"execute"|"popup"
Indicates what functions can be performed when a dragged object is released on the drop target.
Deprecated
in ARIA 1.1
Inherited from
UploaderProps.aria-dropeffect
aria-errormessage?
optionalaria-errormessage:string
Identifies the element that provides an error message for the object.
See
- aria-invalid
- aria-describedby.
Inherited from
UploaderProps.aria-errormessage
aria-expanded?
optionalaria-expanded:Booleanish
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Inherited from
UploaderProps.aria-expanded
aria-flowto?
optionalaria-flowto:string
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
Inherited from
UploaderProps.aria-flowto
aria-grabbed?
optionalaria-grabbed:Booleanish
Indicates an element's "grabbed" state in a drag-and-drop operation.
Deprecated
in ARIA 1.1
Inherited from
UploaderProps.aria-grabbed
aria-haspopup?
optionalaria-haspopup:boolean|"grid"|"dialog"|"menu"|"true"|"false"|"listbox"|"tree"
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Inherited from
UploaderProps.aria-haspopup
aria-hidden?
optionalaria-hidden:Booleanish
Indicates whether the element is exposed to an accessibility API.
See
aria-disabled.
Inherited from
UploaderProps.aria-hidden
aria-invalid?
optionalaria-invalid:boolean|"true"|"false"|"grammar"|"spelling"
Indicates the entered value does not conform to the format expected by the application.
See
aria-errormessage.
Inherited from
UploaderProps.aria-invalid
aria-keyshortcuts?
optionalaria-keyshortcuts:string
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Inherited from
UploaderProps.aria-keyshortcuts
aria-label?
optionalaria-label:string
Defines a string value that labels the current element.
See
aria-labelledby.
Inherited from
UploaderProps.aria-label
aria-labelledby?
optionalaria-labelledby:string
Identifies the element (or elements) that labels the current element.
See
aria-describedby.
Inherited from
UploaderProps.aria-labelledby
aria-level?
optionalaria-level:number
Defines the hierarchical level of an element within a structure.
Inherited from
UploaderProps.aria-level
aria-live?
optionalaria-live:"off"|"assertive"|"polite"
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
Inherited from
UploaderProps.aria-live
aria-modal?
optionalaria-modal:Booleanish
Indicates whether an element is modal when displayed.
Inherited from
UploaderProps.aria-modal
aria-multiline?
optionalaria-multiline:Booleanish
Indicates whether a text box accepts multiple lines of input or only a single line.
Inherited from
UploaderProps.aria-multiline
aria-multiselectable?
optionalaria-multiselectable:Booleanish
Indicates that the user may select more than one item from the current selectable descendants.
Inherited from
UploaderProps.aria-multiselectable
aria-orientation?
optionalaria-orientation:"horizontal"|"vertical"
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
Inherited from
UploaderProps.aria-orientation
aria-owns?
optionalaria-owns:string
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
See
aria-controls.
Inherited from
UploaderProps.aria-owns
aria-placeholder?
optionalaria-placeholder:string
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
Inherited from
UploaderProps.aria-placeholder
aria-posinset?
optionalaria-posinset:number
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
See
aria-setsize.
Inherited from
UploaderProps.aria-posinset
aria-pressed?
optionalaria-pressed:boolean|"true"|"false"|"mixed"
Indicates the current "pressed" state of toggle buttons.
See
- aria-checked
- aria-selected.
Inherited from
UploaderProps.aria-pressed
aria-readonly?
optionalaria-readonly:Booleanish
Indicates that the element is not editable, but is otherwise operable.
See
aria-disabled.
Inherited from
UploaderProps.aria-readonly
aria-relevant?
optionalaria-relevant:"all"|"text"|"additions"|"additions removals"|"additions text"|"removals"|"removals additions"|"removals text"|"text additions"|"text removals"
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
See
aria-atomic.
Inherited from
UploaderProps.aria-relevant
aria-required?
optionalaria-required:Booleanish
Indicates that user input is required on the element before a form may be submitted.
Inherited from
UploaderProps.aria-required
aria-roledescription?
optionalaria-roledescription:string
Defines a human-readable, author-localized description for the role of an element.
Inherited from
UploaderProps.aria-roledescription
aria-rowcount?
optionalaria-rowcount:number
Defines the total number of rows in a table, grid, or treegrid.
See
aria-rowindex.
Inherited from
UploaderProps.aria-rowcount
aria-rowindex?
optionalaria-rowindex:number
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
See
- aria-rowcount
- aria-rowspan.
Inherited from
UploaderProps.aria-rowindex
aria-rowindextext?
optionalaria-rowindextext:string
Defines a human readable text alternative of aria-rowindex.
See
aria-colindextext.
Inherited from
UploaderProps.aria-rowindextext
aria-rowspan?
optionalaria-rowspan:number
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
See
- aria-rowindex
- aria-colspan.
Inherited from
UploaderProps.aria-rowspan
aria-selected?
optionalaria-selected:Booleanish
Indicates the current "selected" state of various widgets.
See
- aria-checked
- aria-pressed.
Inherited from
UploaderProps.aria-selected
aria-setsize?
optionalaria-setsize:number
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
See
aria-posinset.
Inherited from
UploaderProps.aria-setsize
aria-sort?
optionalaria-sort:"none"|"ascending"|"descending"|"other"
Indicates if items in a table or grid are sorted in ascending or descending order.
Inherited from
UploaderProps.aria-sort
aria-valuemax?
optionalaria-valuemax:number
Defines the maximum allowed value for a range widget.
Inherited from
UploaderProps.aria-valuemax
aria-valuemin?
optionalaria-valuemin:number
Defines the minimum allowed value for a range widget.
Inherited from
UploaderProps.aria-valuemin
aria-valuenow?
optionalaria-valuenow:number
Defines the current value for a range widget.
See
aria-valuetext.
Inherited from
UploaderProps.aria-valuenow
aria-valuetext?
optionalaria-valuetext:string
Defines the human readable text alternative of aria-valuenow for a range widget.
Inherited from
UploaderProps.aria-valuetext
as?
optionalas:ElementType<any, keyof IntrinsicElements>
You can use a custom element for this component
Inherited from
UploaderProps.as
autoCapitalize?
optionalautoCapitalize:"none"|string&object|"off"|"on"|"sentences"|"words"|"characters"
Inherited from
UploaderProps.autoCapitalize
autoCorrect?
optionalautoCorrect:string
Inherited from
UploaderProps.autoCorrect
autoFocus?
optionalautoFocus:boolean
Inherited from
UploaderProps.autoFocus
autoSave?
optionalautoSave:string
Inherited from
UploaderProps.autoSave
autoUpload?
optionalautoUpload:boolean
Automatically upload files after selecting them
Inherited from
UploaderProps.autoUpload
block?
optionalblock:boolean
Format button to appear inside a content block
Inherited from
UploaderProps.block
children?
optionalchildren:ReactElement<unknown,string|JSXElementConstructor<any>>
Primary content
Inherited from
UploaderProps.children
className?
optionalclassName:string
Additional classes
Inherited from
UploaderProps.className
classPrefix?
optionalclassPrefix:string
The prefix of the component CSS class
Inherited from
UploaderProps.classPrefix
color?
optionalcolor:Color
A button can have different colors
Inherited from
UploaderProps.color
content?
optionalcontent:string
Inherited from
UploaderProps.content
contentEditable?
optionalcontentEditable:"inherit"|Booleanish|"plaintext-only"
Inherited from
UploaderProps.contentEditable
contextMenu?
optionalcontextMenu:string
Inherited from
UploaderProps.contextMenu
customElement
customElement:
boolean
Whether to use a custom element for the uploader.
dangerouslySetInnerHTML?
optionaldangerouslySetInnerHTML:object
__html
__html:
string|TrustedHTML
Inherited from
UploaderProps.dangerouslySetInnerHTML
data?
optionaldata:any
Upload the parameters with
Inherited from
UploaderProps.data
datatype?
optionaldatatype:string
Inherited from
UploaderProps.datatype
defaultChecked?
optionaldefaultChecked:boolean
Inherited from
UploaderProps.defaultChecked
defaultFileList?
optionaldefaultFileList:FileType[]
List of uploaded files
Inherited from
UploaderProps.defaultFileList
defaultValue?
optionaldefaultValue:string|number| readonlystring[]
Inherited from
UploaderProps.defaultValue
dir?
optionaldir:string
Inherited from
UploaderProps.dir
disabled?
optionaldisabled:boolean
Disabled upload button
Inherited from
UploaderProps.disabled
disabledFileItem?
optionaldisabledFileItem:boolean
Disabled file item
Inherited from
UploaderProps.disabledFileItem
disableMultipart?
optionaldisableMultipart:boolean
If 'true', disable using a multipart form for file upload and instead stream the file. Some APIs (e.g. Amazon S3) may expect the file to be streamed rather than sent via a form. Defaults to false.
Inherited from
UploaderProps.disableMultipart
draggable?
optionaldraggable:boolean
Supported Drag and drop upload *
Inherited from
UploaderProps.draggable
endIcon?
optionalendIcon:ReactNode
The icon element placed after the button text
Inherited from
UploaderProps.endIcon
enterKeyHint?
optionalenterKeyHint:"search"|"done"|"enter"|"go"|"next"|"previous"|"send"
Inherited from
UploaderProps.enterKeyHint
exportparts?
optionalexportparts:string
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts
Inherited from
UploaderProps.exportparts
fileList?
optionalfileList:FileType[]
List of uploaded files (Controlled)
Inherited from
UploaderProps.fileList
fileListVisible?
optionalfileListVisible:boolean
File list can be rendered
Inherited from
UploaderProps.fileListVisible
headers?
optionalheaders:any
Set Upload request Header
Inherited from
UploaderProps.headers
hidden?
optionalhidden:boolean
Inherited from
UploaderProps.hidden
href?
optionalhref:string
Providing a href will render an <a> element, styled as a button
Inherited from
UploaderProps.href
id?
optionalid:string
Inherited from
UploaderProps.id
inert?
optionalinert:boolean
See
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert
Inherited from
UploaderProps.inert
inlist?
optionalinlist:any
Inherited from
UploaderProps.inlist
inputMode?
optionalinputMode:"search"|"none"|"text"|"tel"|"url"|"email"|"numeric"|"decimal"
Hints at the type of data that might be entered by the user while editing the element or its contents
See
https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
Inherited from
UploaderProps.inputMode
is?
optionalis:string
Specify that a standard HTML element should behave like a defined custom built-in element
See
https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
Inherited from
UploaderProps.is
itemID?
optionalitemID:string
Inherited from
UploaderProps.itemID
itemProp?
optionalitemProp:string
Inherited from
UploaderProps.itemProp
itemRef?
optionalitemRef:string
Inherited from
UploaderProps.itemRef
itemScope?
optionalitemScope:boolean
Inherited from
UploaderProps.itemScope
itemType?
optionalitemType:string
Inherited from
UploaderProps.itemType
label?
optionallabel:string
The label for the uploader.
lang?
optionallang:string
Inherited from
UploaderProps.lang
listType?
optionallistType:"picture"|"text"|"picture-text"
Upload list Style
Inherited from
UploaderProps.listType
loading?
optionalloading:boolean
A button can show a loading indicator
Inherited from
UploaderProps.loading
locale?
optionallocale:UploaderLocale
Custom locale
Inherited from
UploaderProps.locale
maxPreviewFileSize?
optionalmaxPreviewFileSize:number
Max file size limit of the preview file
Inherited from
UploaderProps.maxPreviewFileSize
method?
optionalmethod:string
The http method of upload request
Inherited from
UploaderProps.method
multiple?
optionalmultiple:boolean
Allow multiple file uploads
Inherited from
UploaderProps.multiple
name?
optionalname:string
Upload the parameter name of the corresponding file
Inherited from
UploaderProps.name
nonce?
optionalnonce:string
Inherited from
UploaderProps.nonce
onAbort?
optionalonAbort:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onAbort
onAbortCapture?
optionalonAbortCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onAbortCapture
onAnimationEnd?
optionalonAnimationEnd:AnimationEventHandler<HTMLElement>
Inherited from
UploaderProps.onAnimationEnd
onAnimationEndCapture?
optionalonAnimationEndCapture:AnimationEventHandler<HTMLElement>
Inherited from
UploaderProps.onAnimationEndCapture
onAnimationIteration?
optionalonAnimationIteration:AnimationEventHandler<HTMLElement>
Inherited from
UploaderProps.onAnimationIteration
onAnimationIterationCapture?
optionalonAnimationIterationCapture:AnimationEventHandler<HTMLElement>
Inherited from
UploaderProps.onAnimationIterationCapture
onAnimationStart?
optionalonAnimationStart:AnimationEventHandler<HTMLElement>
Inherited from
UploaderProps.onAnimationStart
onAnimationStartCapture?
optionalonAnimationStartCapture:AnimationEventHandler<HTMLElement>
Inherited from
UploaderProps.onAnimationStartCapture
onAuxClick?
optionalonAuxClick:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onAuxClick
onAuxClickCapture?
optionalonAuxClickCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onAuxClickCapture
onBeforeInput?
optionalonBeforeInput:InputEventHandler<HTMLElement>
Inherited from
UploaderProps.onBeforeInput
onBeforeInputCapture?
optionalonBeforeInputCapture:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onBeforeInputCapture
onBeforeToggle?
optionalonBeforeToggle:ToggleEventHandler<HTMLElement>
Inherited from
UploaderProps.onBeforeToggle
onBlur?
optionalonBlur:FocusEventHandler<HTMLElement>
Inherited from
UploaderProps.onBlur
onBlurCapture?
optionalonBlurCapture:FocusEventHandler<HTMLElement>
Inherited from
UploaderProps.onBlurCapture
onCanPlay?
optionalonCanPlay:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onCanPlay
onCanPlayCapture?
optionalonCanPlayCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onCanPlayCapture
onCanPlayThrough?
optionalonCanPlayThrough:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onCanPlayThrough
onCanPlayThroughCapture?
optionalonCanPlayThroughCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onCanPlayThroughCapture
onChange()?
optionalonChange: (fileList,event) =>void
callback function that the upload queue has changed
Parameters
fileList
FileType[]
event
MouseEvent<Element, MouseEvent> | ChangeEvent<Element>
Returns
void
Inherited from
UploaderProps.onChange
onChangeCapture?
optionalonChangeCapture:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onChangeCapture
onClick?
optionalonClick:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onClick
onClickCapture?
optionalonClickCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onClickCapture
onCompositionEnd?
optionalonCompositionEnd:CompositionEventHandler<HTMLElement>
Inherited from
UploaderProps.onCompositionEnd
onCompositionEndCapture?
optionalonCompositionEndCapture:CompositionEventHandler<HTMLElement>
Inherited from
UploaderProps.onCompositionEndCapture
onCompositionStart?
optionalonCompositionStart:CompositionEventHandler<HTMLElement>
Inherited from
UploaderProps.onCompositionStart
onCompositionStartCapture?
optionalonCompositionStartCapture:CompositionEventHandler<HTMLElement>
Inherited from
UploaderProps.onCompositionStartCapture
onCompositionUpdate?
optionalonCompositionUpdate:CompositionEventHandler<HTMLElement>
Inherited from
UploaderProps.onCompositionUpdate
onCompositionUpdateCapture?
optionalonCompositionUpdateCapture:CompositionEventHandler<HTMLElement>
Inherited from
UploaderProps.onCompositionUpdateCapture
onContextMenu?
optionalonContextMenu:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onContextMenu
onContextMenuCapture?
optionalonContextMenuCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onContextMenuCapture
onCopy?
optionalonCopy:ClipboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onCopy
onCopyCapture?
optionalonCopyCapture:ClipboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onCopyCapture
onCut?
optionalonCut:ClipboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onCut
onCutCapture?
optionalonCutCapture:ClipboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onCutCapture
onDoubleClick?
optionalonDoubleClick:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onDoubleClick
onDoubleClickCapture?
optionalonDoubleClickCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onDoubleClickCapture
onDrag?
optionalonDrag:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDrag
onDragCapture?
optionalonDragCapture:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragCapture
onDragEnd?
optionalonDragEnd:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragEnd
onDragEndCapture?
optionalonDragEndCapture:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragEndCapture
onDragEnter?
optionalonDragEnter:DragEventHandler<HTMLInputElement>
Inherited from
UploaderProps.onDragEnter
onDragEnterCapture?
optionalonDragEnterCapture:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragEnterCapture
onDragExit?
optionalonDragExit:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragExit
onDragExitCapture?
optionalonDragExitCapture:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragExitCapture
onDragLeave?
optionalonDragLeave:DragEventHandler<HTMLInputElement>
Inherited from
UploaderProps.onDragLeave
onDragLeaveCapture?
optionalonDragLeaveCapture:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragLeaveCapture
onDragOver?
optionalonDragOver:DragEventHandler<HTMLInputElement>
Inherited from
UploaderProps.onDragOver
onDragOverCapture?
optionalonDragOverCapture:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragOverCapture
onDragStart?
optionalonDragStart:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragStart
onDragStartCapture?
optionalonDragStartCapture:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDragStartCapture
onDrop?
optionalonDrop:DragEventHandler<HTMLInputElement>
Inherited from
UploaderProps.onDrop
onDropCapture?
optionalonDropCapture:DragEventHandler<HTMLElement>
Inherited from
UploaderProps.onDropCapture
onDurationChange?
optionalonDurationChange:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onDurationChange
onDurationChangeCapture?
optionalonDurationChangeCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onDurationChangeCapture
onEmptied?
optionalonEmptied:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onEmptied
onEmptiedCapture?
optionalonEmptiedCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onEmptiedCapture
onEncrypted?
optionalonEncrypted:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onEncrypted
onEncryptedCapture?
optionalonEncryptedCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onEncryptedCapture
onEnded?
optionalonEnded:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onEnded
onEndedCapture?
optionalonEndedCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onEndedCapture
onError()?
optionalonError: (status,file,event,xhr) =>void
Upload callback function with error
Parameters
status
ErrorStatus
file
FileType
event
ProgressEvent
xhr
XMLHttpRequest
Returns
void
Inherited from
UploaderProps.onError
onErrorCapture?
optionalonErrorCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onErrorCapture
onFocus?
optionalonFocus:FocusEventHandler<HTMLElement>
Inherited from
UploaderProps.onFocus
onFocusCapture?
optionalonFocusCapture:FocusEventHandler<HTMLElement>
Inherited from
UploaderProps.onFocusCapture
onGotPointerCapture?
optionalonGotPointerCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onGotPointerCapture
onGotPointerCaptureCapture?
optionalonGotPointerCaptureCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onGotPointerCaptureCapture
onInput?
optionalonInput:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onInput
onInputCapture?
optionalonInputCapture:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onInputCapture
onInvalid?
optionalonInvalid:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onInvalid
onInvalidCapture?
optionalonInvalidCapture:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onInvalidCapture
onKeyDown?
optionalonKeyDown:KeyboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onKeyDown
onKeyDownCapture?
optionalonKeyDownCapture:KeyboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onKeyDownCapture
onKeyPress?
optionalonKeyPress:KeyboardEventHandler<HTMLElement>
Deprecated
Use onKeyUp or onKeyDown instead
Inherited from
UploaderProps.onKeyPress
onKeyPressCapture?
optionalonKeyPressCapture:KeyboardEventHandler<HTMLElement>
Deprecated
Use onKeyUpCapture or onKeyDownCapture instead
Inherited from
UploaderProps.onKeyPressCapture
onKeyUp?
optionalonKeyUp:KeyboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onKeyUp
onKeyUpCapture?
optionalonKeyUpCapture:KeyboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onKeyUpCapture
onLoad?
optionalonLoad:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onLoad
onLoadCapture?
optionalonLoadCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onLoadCapture
onLoadedData?
optionalonLoadedData:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onLoadedData
onLoadedDataCapture?
optionalonLoadedDataCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onLoadedDataCapture
onLoadedMetadata?
optionalonLoadedMetadata:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onLoadedMetadata
onLoadedMetadataCapture?
optionalonLoadedMetadataCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onLoadedMetadataCapture
onLoadStart?
optionalonLoadStart:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onLoadStart
onLoadStartCapture?
optionalonLoadStartCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onLoadStartCapture
onLostPointerCapture?
optionalonLostPointerCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onLostPointerCapture
onLostPointerCaptureCapture?
optionalonLostPointerCaptureCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onLostPointerCaptureCapture
onMouseDown?
optionalonMouseDown:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseDown
onMouseDownCapture?
optionalonMouseDownCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseDownCapture
onMouseEnter?
optionalonMouseEnter:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseEnter
onMouseLeave?
optionalonMouseLeave:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseLeave
onMouseMove?
optionalonMouseMove:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseMove
onMouseMoveCapture?
optionalonMouseMoveCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseMoveCapture
onMouseOut?
optionalonMouseOut:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseOut
onMouseOutCapture?
optionalonMouseOutCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseOutCapture
onMouseOver?
optionalonMouseOver:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseOver
onMouseOverCapture?
optionalonMouseOverCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseOverCapture
onMouseUp?
optionalonMouseUp:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseUp
onMouseUpCapture?
optionalonMouseUpCapture:MouseEventHandler<HTMLElement>
Inherited from
UploaderProps.onMouseUpCapture
onPaste?
optionalonPaste:ClipboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onPaste
onPasteCapture?
optionalonPasteCapture:ClipboardEventHandler<HTMLElement>
Inherited from
UploaderProps.onPasteCapture
onPause?
optionalonPause:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onPause
onPauseCapture?
optionalonPauseCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onPauseCapture
onPlay?
optionalonPlay:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onPlay
onPlayCapture?
optionalonPlayCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onPlayCapture
onPlaying?
optionalonPlaying:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onPlaying
onPlayingCapture?
optionalonPlayingCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onPlayingCapture
onPointerCancel?
optionalonPointerCancel:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerCancel
onPointerCancelCapture?
optionalonPointerCancelCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerCancelCapture
onPointerDown?
optionalonPointerDown:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerDown
onPointerDownCapture?
optionalonPointerDownCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerDownCapture
onPointerEnter?
optionalonPointerEnter:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerEnter
onPointerLeave?
optionalonPointerLeave:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerLeave
onPointerMove?
optionalonPointerMove:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerMove
onPointerMoveCapture?
optionalonPointerMoveCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerMoveCapture
onPointerOut?
optionalonPointerOut:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerOut
onPointerOutCapture?
optionalonPointerOutCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerOutCapture
onPointerOver?
optionalonPointerOver:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerOver
onPointerOverCapture?
optionalonPointerOverCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerOverCapture
onPointerUp?
optionalonPointerUp:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerUp
onPointerUpCapture?
optionalonPointerUpCapture:PointerEventHandler<HTMLElement>
Inherited from
UploaderProps.onPointerUpCapture
onPreview()?
optionalonPreview: (file,event) =>void
In the file list, click the callback function for the uploaded file
Parameters
file
FileType
event
SyntheticEvent
Returns
void
Inherited from
UploaderProps.onPreview
onProgress()?
optionalonProgress: (percent,file,event,xhr) =>void
Callback functions that upload progress change
Parameters
percent
number
file
FileType
event
ProgressEvent
xhr
XMLHttpRequest
Returns
void
Inherited from
UploaderProps.onProgress
onProgressCapture?
optionalonProgressCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onProgressCapture
onRateChange?
optionalonRateChange:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onRateChange
onRateChangeCapture?
optionalonRateChangeCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onRateChangeCapture
onRemove()?
optionalonRemove: (file) =>void
In the file list, click the callback function to delete a file
Parameters
file
FileType
Returns
void
Inherited from
UploaderProps.onRemove
onReset?
optionalonReset:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onReset
onResetCapture?
optionalonResetCapture:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onResetCapture
onReupload()?
optionalonReupload: (file) =>void
In the file list, for uploading failed files, click the callback function to upload
Parameters
file
FileType
Returns
void
Inherited from
UploaderProps.onReupload
onScroll?
optionalonScroll:UIEventHandler<HTMLElement>
Inherited from
UploaderProps.onScroll
onScrollCapture?
optionalonScrollCapture:UIEventHandler<HTMLElement>
Inherited from
UploaderProps.onScrollCapture
onScrollEnd?
optionalonScrollEnd:UIEventHandler<HTMLElement>
Inherited from
UploaderProps.onScrollEnd
onScrollEndCapture?
optionalonScrollEndCapture:UIEventHandler<HTMLElement>
Inherited from
UploaderProps.onScrollEndCapture
onSeeked?
optionalonSeeked:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onSeeked
onSeekedCapture?
optionalonSeekedCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onSeekedCapture
onSeeking?
optionalonSeeking:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onSeeking
onSeekingCapture?
optionalonSeekingCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onSeekingCapture
onSelect?
optionalonSelect:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onSelect
onSelectCapture?
optionalonSelectCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onSelectCapture
onStalled?
optionalonStalled:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onStalled
onStalledCapture?
optionalonStalledCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onStalledCapture
onSubmit?
optionalonSubmit:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onSubmit
onSubmitCapture?
optionalonSubmitCapture:FormEventHandler<HTMLElement>
Inherited from
UploaderProps.onSubmitCapture
onSuccess()?
optionalonSuccess: (response,file,event,xhr) =>void
callback function after successful upload
Parameters
response
any
file
FileType
event
ProgressEvent
xhr
XMLHttpRequest
Returns
void
Inherited from
UploaderProps.onSuccess
onSuspend?
optionalonSuspend:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onSuspend
onSuspendCapture?
optionalonSuspendCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onSuspendCapture
onTimeUpdate?
optionalonTimeUpdate:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onTimeUpdate
onTimeUpdateCapture?
optionalonTimeUpdateCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onTimeUpdateCapture
onToggle?
optionalonToggle:ToggleEventHandler<HTMLElement>
Inherited from
UploaderProps.onToggle
onTouchCancel?
optionalonTouchCancel:TouchEventHandler<HTMLElement>
Inherited from
UploaderProps.onTouchCancel
onTouchCancelCapture?
optionalonTouchCancelCapture:TouchEventHandler<HTMLElement>
Inherited from
UploaderProps.onTouchCancelCapture
onTouchEnd?
optionalonTouchEnd:TouchEventHandler<HTMLElement>
Inherited from
UploaderProps.onTouchEnd
onTouchEndCapture?
optionalonTouchEndCapture:TouchEventHandler<HTMLElement>
Inherited from
UploaderProps.onTouchEndCapture
onTouchMove?
optionalonTouchMove:TouchEventHandler<HTMLElement>
Inherited from
UploaderProps.onTouchMove
onTouchMoveCapture?
optionalonTouchMoveCapture:TouchEventHandler<HTMLElement>
Inherited from
UploaderProps.onTouchMoveCapture
onTouchStart?
optionalonTouchStart:TouchEventHandler<HTMLElement>
Inherited from
UploaderProps.onTouchStart
onTouchStartCapture?
optionalonTouchStartCapture:TouchEventHandler<HTMLElement>
Inherited from
UploaderProps.onTouchStartCapture
onTransitionCancel?
optionalonTransitionCancel:TransitionEventHandler<HTMLElement>
Inherited from
UploaderProps.onTransitionCancel
onTransitionCancelCapture?
optionalonTransitionCancelCapture:TransitionEventHandler<HTMLElement>
Inherited from
UploaderProps.onTransitionCancelCapture
onTransitionEnd?
optionalonTransitionEnd:TransitionEventHandler<HTMLElement>
Inherited from
UploaderProps.onTransitionEnd
onTransitionEndCapture?
optionalonTransitionEndCapture:TransitionEventHandler<HTMLElement>
Inherited from
UploaderProps.onTransitionEndCapture
onTransitionRun?
optionalonTransitionRun:TransitionEventHandler<HTMLElement>
Inherited from
UploaderProps.onTransitionRun
onTransitionRunCapture?
optionalonTransitionRunCapture:TransitionEventHandler<HTMLElement>
Inherited from
UploaderProps.onTransitionRunCapture
onTransitionStart?
optionalonTransitionStart:TransitionEventHandler<HTMLElement>
Inherited from
UploaderProps.onTransitionStart
onTransitionStartCapture?
optionalonTransitionStartCapture:TransitionEventHandler<HTMLElement>
Inherited from
UploaderProps.onTransitionStartCapture
onUpload()?
optionalonUpload: (file,uploadData,xhr) =>void
The callback function that starts the upload file
Parameters
file
FileType
uploadData
any
xhr
XMLHttpRequest
Returns
void
Inherited from
UploaderProps.onUpload
onVolumeChange?
optionalonVolumeChange:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onVolumeChange
onVolumeChangeCapture?
optionalonVolumeChangeCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onVolumeChangeCapture
onWaiting?
optionalonWaiting:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onWaiting
onWaitingCapture?
optionalonWaitingCapture:ReactEventHandler<HTMLElement>
Inherited from
UploaderProps.onWaitingCapture
onWheel?
optionalonWheel:WheelEventHandler<HTMLElement>
Inherited from
UploaderProps.onWheel
onWheelCapture?
optionalonWheelCapture:WheelEventHandler<HTMLElement>
Inherited from
UploaderProps.onWheelCapture
part?
optionalpart:string
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part
Inherited from
UploaderProps.part
plaintext?
optionalplaintext:boolean
Render the control as plain text
Inherited from
UploaderProps.plaintext
popover?
optionalpopover:""|"hint"|"auto"|"manual"
Inherited from
UploaderProps.popover
popoverTarget?
optionalpopoverTarget:string
Inherited from
UploaderProps.popoverTarget
popoverTargetAction?
optionalpopoverTargetAction:"toggle"|"show"|"hide"
Inherited from
UploaderProps.popoverTargetAction
prefix?
optionalprefix:string
Inherited from
UploaderProps.prefix
property?
optionalproperty:string
Inherited from
UploaderProps.property
radioGroup?
optionalradioGroup:string
Inherited from
UploaderProps.radioGroup
readOnly?
optionalreadOnly:boolean
Make the control readonly
Inherited from
UploaderProps.readOnly
rel?
optionalrel:string
Inherited from
UploaderProps.rel
removable?
optionalremovable:boolean
Removable list file
Inherited from
UploaderProps.removable
renderFileInfo()?
optionalrenderFileInfo: (file,fileElement) =>ReactNode
Custom render file information
Parameters
file
FileType
fileElement
ReactNode
Returns
ReactNode
Inherited from
UploaderProps.renderFileInfo
renderThumbnail()?
optionalrenderThumbnail: (file,thumbnail) =>ReactNode
Custom render thumbnail
Parameters
file
FileType
thumbnail
ReactNode
Returns
ReactNode
Inherited from
UploaderProps.renderThumbnail
resource?
optionalresource:string
Inherited from
UploaderProps.resource
results?
optionalresults:number
Inherited from
UploaderProps.results
rev?
optionalrev:string
Inherited from
UploaderProps.rev
ripple?
optionalripple:boolean
Ripple after button click
Inherited from
UploaderProps.ripple
role?
optionalrole:AriaRole
Inherited from
UploaderProps.role
security?
optionalsecurity:string
Inherited from
UploaderProps.security
shouldQueueUpdate()?
optionalshouldQueueUpdate: (fileList,newFile) =>boolean|Promise<boolean>
Allow the queue to be updated. After you select a file, update the checksum function before the upload file queue, and return false to not update
Parameters
fileList
FileType[]
newFile
FileType | FileType[]
Returns
boolean | Promise<boolean>
Inherited from
UploaderProps.shouldQueueUpdate
shouldUpload()?
optionalshouldUpload: (file) =>boolean|Promise<boolean>
Allow uploading of files. Check function before file upload, return false without uploading
Parameters
file
FileType
Returns
boolean | Promise<boolean>
Inherited from
UploaderProps.shouldUpload
size?
optionalsize:Size
A button can have different sizes
Inherited from
UploaderProps.size
slot?
optionalslot:string
Inherited from
UploaderProps.slot
spellCheck?
optionalspellCheck:Booleanish
Inherited from
UploaderProps.spellCheck
startIcon?
optionalstartIcon:ReactNode
The icon element placed before the button text
Inherited from
UploaderProps.startIcon
style?
optionalstyle:CSSProperties
Additional style
Inherited from
UploaderProps.style
suppressContentEditableWarning?
optionalsuppressContentEditableWarning:boolean
Inherited from
UploaderProps.suppressContentEditableWarning
suppressHydrationWarning?
optionalsuppressHydrationWarning:boolean
Inherited from
UploaderProps.suppressHydrationWarning
tabIndex?
optionaltabIndex:number
Inherited from
UploaderProps.tabIndex
target?
optionaltarget:string
Where to display the linked URL
Inherited from
UploaderProps.target
timeout?
optionaltimeout:number
Set upload timeout
Inherited from
UploaderProps.timeout
title?
optionaltitle:string
Inherited from
UploaderProps.title
toggleAs?
optionaltoggleAs:ElementType<any, keyof IntrinsicElements>
You can use a custom element for this component
Inherited from
UploaderProps.toggleAs
translate?
optionaltranslate:"yes"|"no"
Inherited from
UploaderProps.translate
type?
optionaltype:"button"|"reset"|"submit"
Defines HTML button type attribute
Inherited from
UploaderProps.type
typeof?
optionaltypeof:string
Inherited from
UploaderProps.typeof
unselectable?
optionalunselectable:"off"|"on"
Inherited from
UploaderProps.unselectable
vocab?
optionalvocab:string
Inherited from
UploaderProps.vocab
withCredentials?
optionalwithCredentials:boolean
Whether to carry cookies when uploading requests
Inherited from
UploaderProps.withCredentials