polyui
1.7.26
jvm
polyui
/
org.polyfrost.polyui.component.extensions
/
withStates
with
States
fun
<
S
:
Drawable
>
S
.
withStates
(
)
:
S
fun
<
S
:
Drawable
>
S
.
withStates
(
consume
:
Boolean
=
false
,
showClicker
:
Boolean
=
true
,
animation
:
(
)
->
Animation
?
=
{ Animations.Default.create(0.08.seconds) }
)
:
S