[android-components](../../index.md) / [mozilla.components.concept.engine.webextension](../index.md) / [BrowserAction](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/engine/src/main/java/mozilla/components/concept/engine/webextension/BrowserAction.kt#L27)

A callback to be executed when this browser action is clicked.

### Property

`onClick` - A callback to be executed when this browser action is clicked.