Skip to content
This repository was archived by the owner on Jan 25, 2018. It is now read-only.

API Reference

Fabian Vilers edited this page Apr 9, 2017 · 1 revision

FileDropzoneModule

FileDropzoneDirective

Transform an HTML element as a file dropzone. On drag, files are sent to the browser.

Properties

@Output() fileDrop: DroppedFile

Event emitted when a file is dropped and read.

DroppedFile

A dropped file after it has been read by the browser.

Properties

lastModifiedDate: Date

Returns the last modified time of the file, in millisecond since the UNIX epoch (January 1st, 1970 at Midnight).

name: string

Returns the name of the file referenced by the File object.

size: number

Returns the size of the file.

type: string

Returns the MIME type of the file.

dataURL: string

Returns a data: URL representing the file's data.

Clone this wiki locally