Boolean Widget

Creates a boolean widget for use in components views. Outputs an integer flow variable with a given value (boolean).

The node supports custom CSS styling. You can simply put CSS rules into a single string and set it as a flow variable 'customCSS' in the node configuration dialog. You will find the list of available classes and their description on our documentation page.

Options

Control

Label
A descriptive label that will be shown in the view.
Description
Some lines of description that will be shown in the view, for instance by means of a tooltip.
Variable Name
Variable identifier.
Default Value
The value that is selected by default.
Output as Integer
If set, the output variable will be of type integer (as opposed to type boolean).

Re-execution

Re-execution on widget value change
If selected, widget emits reactivity events that trigger the re-execution of downstream nodes in a component composite view when its value changes. It allows users to create interactive Data Apps and visualizations.

Input Ports

This node has no input ports

Output Ports

Icon
Variable output with the given variable defined.

Views

Interactive View: Boolean Widget
Displays a checkbox which represents the boolean value.

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.