search

goog.events.FileDropHandler

Provided By
Extends
All Implemented Interfaces

A files drag and drop event detector. Gets an element as parameter and fires goog.events.FileDropHandler.EventType.DROP event when files are dropped in the element.

new FileDropHandler( element, opt_preventDropOutside )

Parameters
element(Element|Document|null)

The element or document to listen on.

opt_preventDropOutsideboolean=

Whether to prevent a drop on the area outside the element. Default false.

Instance Methods

Instance Properties

Enumerations