---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md
  - https://yandex.com.tr/dev/jsapi-v2-1/doc/ru/v2-1/ref/reference/IEvent.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/jsapi-v2-1/doc/en/llms.txt

# IEvent

Event that is fired by the IEventManager event manager.

[Constructor](#constructor-summary) | [Methods](#methods-summary)

## Constructor {#constructor-summary}

```javascript
IEvent()
```

## Methods {#methods-summary}

#|
|| **Name** | **Returns** | **Description** ||
|| [allowMapEvent](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#allowMapEvent)() | | Allows the propagation of the event to the map. ||
|| [callMethod](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#callMethod)([name](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#callMethod-param-name)) | | Calls the specified method from the source event. The second and following arguments are passed to the method with the call. ||
|| [get](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#get)([name](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#get-param-name)) | Object | Returns an event property for a key. Using this method, you can get access both to the properties of the source event and to additional properties provided by the Yandex Maps API. ||
|| [getSourceEvent](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#getSourceEvent)() | [IEvent](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md)\|null | Returns source event. ||
|| [isDefaultPrevented](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#isDefaultPrevented)() | Boolean | Returns true if the default reaction to the event has been canceled. ||
|| [isImmediatePropagationStopped](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#isImmediatePropagationStopped)() | Boolean | Returns true if the event processing has been interrupted. ||
|| [isMapEventAllowed](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#isMapEventAllowed)() | Boolean | Returns true if the map event is enabled. ||
|| [isPropagationStopped](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#isPropagationStopped)() | Boolean | Returns true if event propagation has been interrupted. ||
|| [preventDefault](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#preventDefault)() | | Cancels the default reaction to an event within the Yandex Maps API event system. ||
|| [stopImmediatePropagation](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#stopImmediatePropagation)() | | Stops event processing in the Yandex Maps API event system. I.e. after calling this method, no handler for this event will be called. ||
|| [stopPropagation](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEvent.md#stopPropagation)() | | Stops event propagation in the Yandex Maps API event system.||
|#

## Methods details {#method_detail}

### allowMapEvent {#allowMapEvent}

```javascript
{} allowMapEvent()
```

Allows the propagation of the event to the map.

### callMethod {#callMethod}

```javascript
{} callMethod(name)
```

Calls the specified method from the source event. The second and following arguments are passed to the method with the call.

**Parameters:**

#|
|| **Parameter** | **Default value** | **Description**  ||
|| [`name`](#callMethod-param-name)[*](*star) | — | Type: String

Method name. ||
|#

\* Mandatory parameter/option.

### get {#get}

```javascript
{Object} get(name)
```

Returns an event property for a key. Using this method, you can get access both to the properties of the source event and to additional properties provided by the Yandex Maps API.

**Returns** property value.

**Parameters:**

#|
|| **Parameter** | **Default value** | **Description**  ||
|| [`name`](#get-param-name)[*](*star) | — | Type: String

Property name. ||
|#

\* Mandatory parameter/option.

### getSourceEvent {#getSourceEvent}

```javascript
{IEvent|null} getSourceEvent()
```

**Returns** source event.

### isDefaultPrevented {#isDefaultPrevented}

```javascript
{Boolean} isDefaultPrevented()
```

**Returns** true if the default reaction to the event has been canceled.

### isImmediatePropagationStopped {#isImmediatePropagationStopped}

```javascript
{Boolean} isImmediatePropagationStopped()
```

**Returns** true if the event processing has been interrupted.

### isMapEventAllowed {#isMapEventAllowed}

```javascript
{Boolean} isMapEventAllowed()
```

**Returns** true if the map event is enabled.

### isPropagationStopped {#isPropagationStopped}

```javascript
{Boolean} isPropagationStopped()
```

**Returns** true if event propagation has been interrupted.

### preventDefault {#preventDefault}

```javascript
{} preventDefault()
```

Cancels the default reaction to an event within the Yandex Maps API event system.

### stopImmediatePropagation {#stopImmediatePropagation}

```javascript
{} stopImmediatePropagation()
```

Stops event processing in the Yandex Maps API event system. I.e. after calling this method, no handler for this event will be called.

### stopPropagation {#stopPropagation}

```javascript
{} stopPropagation()
```

Stops event propagation in the Yandex Maps API event system.

[*star]: Mandatory parameter/option.