OpenLayers v4.0.1 API - Class: Event

# Class: Event

This documentation is for OpenLayers v4.0.1. The latest is v.

## ol.interaction.DragAndDrop.Event

Events emitted by `ol.interaction.DragAndDrop` instances are instances of this type.

### Extends

- ol.events.Event

### Members

#### features{Array.<ol.Feature>} {undefined}

  The features parsed from dropped data.

#### file{File}

  The dropped file.

#### projection{ol.proj.Projection} {undefined}

  The feature projection.

#### target{Object}

  The event target.

#### type{string}

  The event type.

### Methods

#### preventDefault() inherited

src/ol/events/event.js, line 48

  Stop event propagation.

#### stopPropagation() inherited

src/ol/events/event.js, line 56

  Stop event propagation.

### Events

#### addfeatures

src/ol/interaction/draganddrop.js, line 189

  Triggered when features are added

#### change inherited

src/ol/events/eventtype.js, line 8

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