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

events/Event.js, line 46

Stop event propagation.

stopPropagation() inherited

events/Event.js, line 54

Stop event propagation.

Events

addfeatures

interaction/DragAndDrop.js, line 31

Triggered when features are added

change inherited

events/EventType.js, line 10

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

error inherited

events/EventType.js, line 17

Generic error event. Triggered when an error occurs.