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

The **`BarProp`** interface of the Document Object Model represents the web browser user interface elements that are exposed to scripts in web pages. Each of the following interface elements are represented by a BarProp object.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/BarProp)

interface BarProp {  
    [visible](#visible): boolean;  
}

##### Index

### Properties[](#properties)

[visible](#visible)

## Properties[](#properties-1)

### `Readonly`visible[](#visible)

visible: boolean

The **`visible`** read-only property of the BarProp interface returns true if the user interface element it represents is visible.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/BarProp/visible)
