Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UploadFromEventOptions <T >

Options for uploading content from a drop event

Type parameters

Hierarchy

Index

Properties

binaryPropertyName

binaryPropertyName: string

Name of the binary property on the content, e.g.: Binary

Optional body

body: any

Additional post body options

Optional contentTypeName

contentTypeName: undefined | string

The name of the content type, e.g.: File

createFolders

createFolders: boolean

Option if folders should be created as well.

event

event: DragEvent

The DragEvent to work with. File data will be extracted from it's 'dataTransfer' item.

Optional oDataOptions

oDataOptions: ODataParams<T>

An OData Options object

overwrite

overwrite: boolean

Enable overwriting a file if already exists

parentPath

parentPath: string

The path of the parent content item

Optional progressObservable

progressObservable: ObservableValue<UploadProgressInfo>

Optional observable that will be updated with the upload progress

Optional requestInit

requestInit: RequestInit

Additional fetch request init options

Generated using TypeDoc