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

interface ScrollIntoViewOptions {  
    [behavior](#behavior)?: [ScrollBehavior](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ScrollBehavior/);  
    [block](#block)?: [ScrollLogicalPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ScrollLogicalPosition/);  
    [inline](#inline)?: [ScrollLogicalPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ScrollLogicalPosition/);  
}

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

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

##### Index

### Properties[](#properties)

[behavior?](#behavior) [block?](#block) [inline?](#inline)

## Properties[](#properties-1)

### `Optional`behavior[](#behavior)

behavior?: [ScrollBehavior](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ScrollBehavior/)

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

### `Optional`block[](#block)

block?: [ScrollLogicalPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ScrollLogicalPosition/)

### `Optional`inline[](#inline)

inline?: [ScrollLogicalPosition](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.ScrollLogicalPosition/)
