Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

DropzoneFile interface

Signature

typescript
export interface DropzoneFile 

Import

typescript
import { DropzoneFile } from '@grafana/ui';

Properties

PropertyTypeDescription
abortUpload() => void
errorDOMException | null
fileFile
idstring
progressnumber
retryUpload() => void

abortUpload property

Signature

typescript
abortUpload?: () => void;

error property

Signature

typescript
error: DOMException | null;

file property

Signature

typescript
file: File;

id property

Signature

typescript
id: string;

progress property

Signature

typescript
progress?: number;

retryUpload property

Signature

typescript
retryUpload?: () => void;