Types.SwitchContextValuetype t = t_switch_context_valueval value : t -> string Solidtype.Solid.accessorval dataset : t -> t_switch_data_set Solidtype.Solid.accessorval checked : t -> bool Solidtype.Solid.accessorval input_ref : t -> Dom.htmlInputElement option Solidtype.Solid.accessorval generate_id : t -> string -> stringval toggle : t -> unit -> unitval set_is_checked : t -> bool -> unitval set_is_focused : t -> bool -> unitval set_input_ref : t -> Dom.htmlInputElement -> unitval make :
value:string Solidtype.Solid.accessor ->
dataset:t_switch_data_set Solidtype.Solid.accessor ->
checked:bool Solidtype.Solid.accessor ->
input_ref:Dom.htmlInputElement option Solidtype.Solid.accessor ->
generate_id:(string -> string) ->
toggle:(unit -> unit) ->
set_is_checked:(bool -> unit) ->
set_is_focused:(bool -> unit) ->
set_input_ref:(Dom.htmlInputElement -> unit) ->
unit ->
t