Skip to content

Toggle — Reference

Reference · Advanced · App Connect

Hold a boolean page state that can be checked, unchecked or inverted.

Hold a boolean page state that can be checked, unchecked or inverted.

  • An App Connect page. Use a small known data set when verifying data binding or repetition.

Hold a boolean page state that can be checked, unchecked or inverted.

Part Meaning
IDThe component name, such as detailsToggle.
CheckedThe initial/bound checked state. Default false.
checked dataRead detailsToggle.checked. It is not detailsToggle.value.
CheckSets Checked true.
UncheckSets Checked false.
ToggleInverts the current checked state.
updated eventSignals that the checked state updated; use it only when the additional event-driven work is needed.

Add a Toggle named detailsToggle. Bind a section’s Show condition to detailsToggle.checked. Add a button Click action calling detailsToggle.toggle(). Confirm each click changes visibility, then use Check or Uncheck when the desired state should be explicit.

Toggle is not a visible checkbox control by itself, and it does not persist across reloads. Browser visibility state is not a permission or server-side validation rule.

Use a practical App Connect guide when you need the surrounding page, input or server-data workflow.

You can use the component’s actual data path, configure its controls and verify the example’s reactive behavior.