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