Class: DragAndDropEvent

ol/interaction/DragAndDrop.DragAndDropEvent


Events emitted by module:ol/interaction/DragAndDrop~DragAndDrop instances are instances of this type.

Extends

Members

features{Array.<module:ol/Feature~FeatureLike>} {undefined}

The features parsed from dropped data.

file{File}

The dropped file.

projection{module:ol/proj/Projection~Projection} {undefined}

The feature projection.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

Prevent default. This means that no emulated click, singleclick or doubleclick events will be fired.

stopPropagation() inherited

Stop event propagation.

Events

Triggered when features are added

Generic change event. Triggered when the revision counter is increased.

Generic error event. Triggered when an error occurs.