Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UploadFromEventOptions<T>

Type parameters

Hierarchy

Index

Properties

Optional Body

Body: any

Additional options to post

ContentType

ContentType: object

The type of the content to upload, usually should be 'File'

Type declaration

  • constructor: function
    • new __type(...args: any[]): T
    • Parameters

      • Rest ...args: any[]

      Returns T

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: IODataParams<T>

Overwrite

Overwrite: boolean

Sets if the target content should be overwritten

PropertyName

PropertyName: string

The property to save the Binary data to, usually 'Binary'

Generated using TypeDoc