# Class: DragBoxEvent

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/interaction/DragBox.DragBoxEvent

Events emitted by `DragBox` instances are instances of this type.

### Extends

- BaseEvent

### Members

#### coordinate{Coordinate}

  The coordinate of the drag event.

#### mapBrowserEvent{MapBrowserEvent}

#### 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

#### boxcancel

interaction/DragBox.js, line 57

  Triggered upon drag box canceled.

#### boxdrag

interaction/DragBox.js, line 43

  Triggered on drag when box is active.

#### boxend

interaction/DragBox.js, line 50

  Triggered upon drag box end.

#### boxstart

interaction/DragBox.js, line 36

  Triggered upon drag box start.

#### 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.