---
title: "FullscreenControlOptions | 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.

# Type Alias FullscreenControlOptions

The [FullscreenControl](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.FullscreenControl/) options object

type FullscreenControlOptions \= {  
    [container](#container)?: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/);  
    [pseudo](#pseudo)?: boolean;  
}

##### Index

### Properties[](#properties)

[container?](#container) [pseudo?](#pseudo)

## Properties[](#properties-1)

### `Optional`container[](#container)

container?: [HTMLElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.HTMLElement/)

`container` is the [compatible DOM element](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen#Compatible_elements) which should be made full screen. By default, the map container element will be made full screen.

### `Optional`pseudo[](#pseudo)

pseudo?: boolean

If `true`, the fullscreen control will always use pseudo fullscreen mode (CSS-based, expanding to browser viewport) instead of native fullscreen API. This can be useful for faster transitions and to allow multiple maps to be "fullscreen" simultaneously in different browser windows.

#### Default Value[](#default-value)

```typescript
false
```
