[android-components](../../index.md) / [mozilla.components.concept.engine.webextension](../index.md) / [Action](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/Action.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.