[android-components](../../index.md) / [mozilla.components.browser.menu.item](../index.md) / [AbstractParentBrowserMenuItem](index.md) / [onSubMenuShow](./on-sub-menu-show.md)

# onSubMenuShow

`var onSubMenuShow: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu/src/main/java/mozilla/components/browser/menu/item/AbstractParentBrowserMenuItem.kt#L26)

Listener called when the sub menu is shown.

