Module: ToggleControl

The vue component for a toggle control in the setting dropdown.

Props

Name Type Default value Required? Description
label String - Yes The label for the toggle control.
modelValue Boolean - Yes The current value of the toggle control.
layout String - Yes The layout of the control. Can be 'mobile' or 'desktop'.
popoverContent String '' No The content of the popover.
verticalOffset Number 0 No The vertical offset of the popover.