Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PickerDropPaneOptions

Index

Properties

Optional cropFiles

cropFiles: boolean

Toggle the crop UI for dropped files.

Optional customText

customText: string

Customize the text content in the drop pane.

Optional disableClick

disableClick: boolean

Disable the file input on click. This does not disable the onClick callback.

Optional onClick

onClick: (evt: any) => void

Type declaration

    • (evt: any): void
    • Parameters

      • evt: any

      Returns void

Optional onDragEnter

onDragEnter: (evt: DragEvent) => void

Type declaration

    • (evt: DragEvent): void
    • Parameters

      • evt: DragEvent

      Returns void

Optional onDragLeave

onDragLeave: () => void

Type declaration

    • (): void
    • Returns void

Optional onDragOver

onDragOver: (evt: DragEvent) => void

Type declaration

    • (evt: DragEvent): void
    • Parameters

      • evt: DragEvent

      Returns void

Optional onDrop

onDrop: (evt: DragEvent) => void

Type declaration

    • (evt: DragEvent): void
    • Parameters

      • evt: DragEvent

      Returns void

Optional onError

onError: (files: PickerFileMetadata[]) => void

Type declaration

Optional onProgress

onProgress: (percent: number) => void

Type declaration

    • (percent: number): void
    • Parameters

      • percent: number

      Returns void

Optional onSuccess

onSuccess: (files: PickerFileMetadata[]) => void

onSuccess must be used instead of onUploadDone. The drop pane uses its own callbacks for compatibility purposes. This might eventually change.

Type declaration

Optional overlay

overlay: boolean

Toggle the full-page drop zone overlay.

Optional showIcon

showIcon: boolean

Toggle icon element in drop pane.

Optional showProgress

showProgress: boolean

Toggle upload progress display.