[android-components](../../index.md) / [mozilla.components.concept.menu.candidate](../index.md) / [DrawableButtonMenuIcon](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/concept/menu/src/main/java/mozilla/components/concept/menu/candidate/MenuIcon.kt#L49)

Click listener called when this menu option is clicked.

### Property

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