---
name: "up.Layer.prototype.position"
area: "API"
kind: "Property"
parent: "up.Layer class"
url: "https://unpoly.com/api/up.Layer.prototype.position"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.Layer class](https://unpoly.com/api/up.Layer.md)</nav>

# up.Layer.prototype.position

The [position](https://unpoly.com/learn/customizing-overlays.md#popup-position) of this popup or drawer overlay.

Returns a string like `'top'`, '`right`', `'bottom'` or `'left'`.

---

## Value {#value}

### [position] {#position}

(optional)

This layer's position setting.

Type: string

