Standard checkbox button implementation. This behavior is pretty simple: on click it toggles :checked state flag on the element. You can assign this behavior to other elements that you would like to behave as a “toggle”.
that have this behavior applied by default:
<input type=“checkbox”> - standard HTML inline radio button;<widget type=“checkbox”> - radio button - block;<button type=“checkbox”> - Windows like inline radio button, use it as <button type=“radio”>caption</button>.that this behavior knows about:
checked - if provided will initialize value of runtime state of the flag :checked. Together with the standard set of events (mouse, keyboard, focus) behavior: radio generates:
spacebar key down when button is in focus. Synchronous event.type json::value::V_BOOL, reflects current status of :checked state flag.