[android-components](../../index.md) / [mozilla.components.support.base.facts](../index.md) / [Action](index.md) / [TOGGLE](./-t-o-g-g-l-e.md)

# TOGGLE

`TOGGLE` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/base/src/main/java/mozilla/components/support/base/facts/Action.kt#L22)

The user has toggled something.

Other than a click this action is performed on items that have a distinct number of states. For example clicking
a checkbox or switch widget could emit a [Fact](../-fact/index.md) with a [TOGGLE](./-t-o-g-g-l-e.md) action instead of a [CLICK](-c-l-i-c-k.md) action.

