components
0.14.4
js
components
/
dev.fritz2.components.forms.control
/
FormControlComponent
/
switch
switch
js
open
fun
switch
(
styling
:
BasicParams
.
(
)
->
Unit
=
{}
,
value
:
Store
<
Boolean
>
?
=
null
,
baseClass
:
StyleClass
=
StyleClass.None
,
id
:
String
?
=
value?.id ?: "${ControlNames.switch}-${Id.next()}"
,
prefix
:
String
=
ControlNames.switch
,
build
:
SwitchComponent
.
(
)
->
Unit
=
{}
)
Content copied to clipboard