---
title: "open(on:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsdrawer/open(on:)"
---

# open(on:)

Causes the receiver to open on the specified edge of the parent window.

## Declaration

```swift
func open(on edge: NSRectEdge)
```

## Parameters

- `edge`: The edge of the parent window on which to open the receiver. See Constants for a list of edge constants and locations.

## See Also

### Opening and Closing Drawers

- [close()](appkit/nsdrawer/close().md)
- [close(_:)](appkit/nsdrawer/close(_:).md)
- [open()](appkit/nsdrawer/open().md)
- [open(_:)](appkit/nsdrawer/open(_:).md)
- [toggle(_:)](appkit/nsdrawer/toggle(_:).md)
- [state](appkit/nsdrawer/state-swift.property.md)
