Strata
Toggle table of contents
0.1.4
Select version
dev
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Strata
api
/
dev.s7a.strata.component
/
CycleButtonState
/
Companion
Companion
object
Companion
(
source
)
Type-specific state factories.
Members
Functions
invoke
Link copied to clipboard
inline operator
fun
<
E
:
Enum
<
E
>
>
invoke
(
initialValue
:
E
,
noinline
toString
:
(
E
)
->
String
=
{ value -> value.name }
)
:
CycleButtonState
<
E
>
Creates state containing every constant of
E
in declaration order.