polyui
1.7.29
jvm
polyui
/
org.polyfrost.polyui.component.extensions
/
toggle
toggle
fun
<
S
:
Drawable
>
S
.
toggle
(
state
:
Boolean
)
:
S
Toggle any element to the given
state
provided it was made with the
toggleable
method.
Since
1.7.2