Rachel
Toggle table of contents
3.6.1
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.core
/
love.yinlin.compose.interaction
Package-level
declarations
Types
Functions
Types
Interaction
State
Link copied to clipboard
@
Stable
data
class
InteractionState
(
val
isFocused
:
Boolean
=
false
,
val
isHovered
:
Boolean
=
false
,
val
isPressed
:
Boolean
=
false
,
val
isDragged
:
Boolean
=
false
)
Functions
collect
State
Link copied to clipboard
@
Composable
fun
InteractionSource
.
collectState
(
useFocused
:
Boolean
=
true
,
useHovered
:
Boolean
=
true
,
usePressed
:
Boolean
=
true
,
useDragged
:
Boolean
=
true
)
:
State
<
InteractionState
>