WLJS LogoWLJS Notebook

InputCheckbox

Wolfram Kernel
InputCheckbox[initial_Boolean:False, opts___] _EventObject

represents a UI element - checkbox or a toggle switch

Event generation

Emits True or False based on its state

Options

"Label"

A text label for an element

"Description"

A description label for an element

"Topic"

The default topic/pattern is "Default". Specifies an event-pattern used on emitting (see more on EventFire patterns topics)

Application

A basic GUI element

tg = InputCheckbox[False];
EventHandler[tg, Print]

Chaining events

One can reuse another event

InputCheckbox[event_EventObject, rest__]

Supported output forms

On this page