FocusEnterExitScope
-
Cmn
sealed interface FocusEnterExitScope
Receiver scope for FocusProperties.onEnter and FocusProperties.onExit. Developers can change focus with FocusRequester.requestFocus to change the focus or cancelFocusChange to stop the focus from changing.
Summary
Public functions |
||
|---|---|---|
open Unit |
This function is deprecated. Use cancelFocusChange instead |
Cmn
|
Unit |
Stop focus from changing. |
Cmn
|
Public properties |
||
|---|---|---|
FocusDirection |
The direction used to get into (with |
Cmn
|
Public functions
Public properties
requestedFocusDirection
val requestedFocusDirection: FocusDirection
The direction used to get into (with FocusProperties.onEnter) or leave (with FocusProperties.onExit) focus.