---
title: "MediaQueryListEventInit | 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 MediaQueryListEventInit

interface MediaQueryListEventInit {  
    [bubbles](#bubbles)?: boolean;  
    [cancelable](#cancelable)?: boolean;  
    [composed](#composed)?: boolean;  
    [matches](#matches)?: boolean;  
    [media](#media)?: string;  
}

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

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

##### Index

### Properties[](#properties)

[bubbles?](#bubbles) [cancelable?](#cancelable) [composed?](#composed) [matches?](#matches) [media?](#media)

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

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

### `Optional`matches[](#matches)

matches?: boolean

### `Optional`media[](#media)

media?: string
