onFocusChanged

Adds a callback to be invoked when the focus state of the field changes.

Return

The applied modifier.

Parameters

target

The field to observe.