Spec-Zone.ru › OpenLayers

ol/interaction/DragAndDrop.DragAndDropEvent


Events emitted by DragAndDrop instances are instances of this type.

Extends

  • BaseEvent

Members

features{Array<FeatureLike>} {undefined}

The features parsed from dropped data.

file{File}

The dropped file.

projection{Projection} {undefined}

The feature projection.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

events/Event.js, line 50

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

stopPropagation() inherited

events/Event.js, line 58

Stop event propagation.

Events

addfeatures

interaction/DragAndDrop.js, line 30

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.

© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_interaction_DragAndDrop.DragAndDropEvent.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API