Handle

class Handle

Instances of this class are used to uniquely identify Components for triggering external events including showing a LithoTooltip or triggering an com.facebook.litho.annotations.OnTrigger event.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

StateUpdater associated with this handle object which is used to find the correct event trigger as handle can be used across multiple component trees. For example if handle is set on a Component and we want to trigger event on it from one of the children in Section list, we should have access to Component's component tree.

Functions

Link copied to clipboard