Class Dropzone

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(container: string, options?: DropzoneOptions): Dropzone

Parameters

Returns

Dropzone

Properties

public static autoDiscover: boolean

public static confirm: (question: string, accepted: () => void, rejected?: () => void) => void

public files: DropzoneFile[]

public static options: any

Methods

public getAcceptedFiles(): DropzoneFile[]

Returns

DropzoneFile[]

public getQueuedFiles(): DropzoneFile[]

Returns

DropzoneFile[]

public getRejectedFiles(): DropzoneFile[]

Returns

DropzoneFile[]

public getUploadingFiles(): DropzoneFile[]

Returns

DropzoneFile[]

public off(eventName: any)

Parameters

  • eventName: any

public on(eventName: any, callback: (...args: any[]) => any): any

Parameters

  • eventName: any
  • callback: (...args: any[]) => any

Returns

any

public processQueue()

public removeAllFiles()

public removeFile(file: DropzoneFile)

Parameters