---
title: "tinymce.Event"
description: "This is the base class for all TinyMCE events."
canonical_url: "https://www.tiny.cloud/docs/tinymce/latest/apis/tinymce.event/"
md_url: "https://www.tiny.cloud/docs/tinymce/latest/apis/tinymce.event/index.md"
version: "latest"
last_updated: "2022-06-27T01:45:26Z"
tokens: 509
---
# tinymce.Event

This is the base class for all TinyMCE events.

## Summary

### Properties

| Name | Type | Summary | Defined by |
| --- | --- | --- | --- |
| type | `String` | The event type name for example "click". | `Event` |

### Methods

| Name | Summary | Defined by |
| --- | --- | --- |
| [isDefaultPrevented()](#isDefaultPrevented) | Returns true/false if the default action is to be prevented or not. | `Event` |
| [isImmediatePropagationStopped()](#isImmediatePropagationStopped) | Returns true/false if the event immediate propagation is stopped or not. | `Event` |
| [isPropagationStopped()](#isPropagationStopped) | Returns true/false if the event propagation is stopped or not. | `Event` |
| [preventDefault()](#preventDefault) | Prevents the default action of an event to be executed. | `Event` |
| [stopImmediatePropagation()](#stopImmediatePropagation) | Prevents the event from propagating to listeners on the same object. | `Event` |
| [stopPropagation()](#stopPropagation) | Stops the event from propagating up to listeners on parent objects. | `Event` |

## Methods

### isDefaultPrevented()

```javascript
isDefaultPrevented(): Boolean
```
Returns true/false if the default action is to be prevented or not.

#### Return value

- `Boolean` - True/false if the event is to be executed or not.

### isImmediatePropagationStopped()

```javascript
isImmediatePropagationStopped(): Boolean
```
Returns true/false if the event immediate propagation is stopped or not.

#### Return value

- `Boolean` - True/false if the event immediate propagation is stopped or not.

### isPropagationStopped()

```javascript
isPropagationStopped(): Boolean
```
Returns true/false if the event propagation is stopped or not.

#### Return value

- `Boolean` - True/false if the event propagation is stopped or not.

### preventDefault()

```javascript
preventDefault()
```
Prevents the default action of an event to be executed.

### stopImmediatePropagation()

```javascript
stopImmediatePropagation()
```
Prevents the event from propagating to listeners on the same object.

### stopPropagation()

```javascript
stopPropagation()
```
Stops the event from propagating up to listeners on parent objects.
