[android-components](../index.md) / [mozilla.components.browser.menu2](./index.md)

## Package mozilla.components.browser.menu2

### Types

| Name | Summary |
|---|---|
| [BrowserMenuController](-browser-menu-controller/index.md) | `class BrowserMenuController : `[`MenuController`](../mozilla.components.concept.menu/-menu-controller/index.md)`, `[`Observable`](../mozilla.components.support.base.observer/-observable/index.md)`<`[`Observer`](../mozilla.components.concept.menu/-menu-controller/-observer/index.md)`>`<br>Controls a popup menu composed of MenuCandidate objects. |

### Functions

| Name | Summary |
|---|---|
| [determineMenuOrientation](determine-menu-orientation.md) | `fun determineMenuOrientation(parent: <ERROR CLASS>?): `[`Orientation`](../mozilla.components.concept.menu/-orientation/index.md)<br>Determines the orientation to be used for a menu based on the positioning of the [parent](determine-menu-orientation.md#mozilla.components.browser.menu2$determineMenuOrientation()/parent) in the layout. |
