Module Skyline_checkbox_v1Source

A checkbox input that can be used to toggle a boolean value.

Sourceval component : ?test_selector:Bonsai_web.Test_selector.t -> ?state: (bool Bonsai_web.Bonsai.t * (bool -> unit Bonsai_web.Effect.t) Bonsai_web.Bonsai.t) -> ?disabled:bool Bonsai_web.Bonsai.t -> ?intent:Skyline_theme_v1.Color.t Bonsai_web.Bonsai.t -> ?label:string Bonsai_web.Bonsai.t -> Bonsai_web.Bonsai.graph @ local -> bool Skyline_input_v1.t Bonsai_web.Bonsai.t

The default checkbox input, that can either be checked or unchecked.

include Skyline_input_v1.S with type 'a t := 'a t

The input elements view that can be rendered in a UI.

Sourceval value : 'a t -> 'a

Current value in the input.

Sourceval update : 'a t -> 'a -> unit Bonsai_web.Effect.t

Update the value in the input.