[android-components](../../index.md) / [mozilla.components.browser.menu2.candidate](../index.md) / [SmallMenuCandidate](index.md) / [onClick](./on-click.md)

# onClick

`val onClick: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu2/src/main/java/mozilla/components/browser/menu2/candidate/SmallMenuCandidate.kt#L19)

Click listener called when this menu option is clicked.

### Property

`onClick` - Click listener called when this menu option is clicked.