---
title: "RTCDataChannelEventInit | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface RTCDataChannelEventInit

interface RTCDataChannelEventInit {  
    [bubbles](#bubbles)?: boolean;  
    [cancelable](#cancelable)?: boolean;  
    [channel](#channel): [RTCDataChannel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCDataChannel/);  
    [composed](#composed)?: boolean;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.RTCDataChannelEventInit))

-   [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/)
    -   RTCDataChannelEventInit

##### Index

### Properties[](#properties)

[bubbles?](#bubbles) [cancelable?](#cancelable) [channel](#channel) [composed?](#composed)

## Properties[](#properties-1)

### `Optional`bubbles[](#bubbles)

bubbles?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[bubbles](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#bubbles)

### `Optional`cancelable[](#cancelable)

cancelable?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[cancelable](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#cancelable)

### channel[](#channel)

channel: [RTCDataChannel](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCDataChannel/)

### `Optional`composed[](#composed)

composed?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[composed](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#composed)
