Skip to content

panel.events[].actions[].toggle

← Back to the parameter index

Toggles a setVariables entry against existing state.

This is a compact property lookup. Use the contextual guide below for the complete feature model, configuration sequence, interactions, examples, and limitations.

Context
panel events
Accepted value
boolean
Required
No
Default
No documented default.

User scenarios

  • Use one button to turn a state variable on and off.

Related parameters

Contextual guide and evidence

  • Contextual guide: Open the complete human guide
  • Source: apps/panel/src/types/panel-events.ts, symbol PanelEventAction
  • Example coverage: Partial — The contextual guide explains the field and its behavior, but no focused example isolates it.
  • Demo coverage: Missing — No focused toggle demo.

The panel source named above remains authoritative for runtime behavior. This secondary reference page is generated from the reviewed parameter matrix and does not replace the contextual guide.