Skip to main content
Version: 1.x

SettingsControl

ID: vSettingsControl | LABEL: toggleSettings | Type: Control

A control that toggles the visibility state of the settings menu.

Relationships#

If the Settings plugin is available then this control will automatically manage opening and closing it.

Props#

id#

Type: string|null | Default: null

The id of this control that is set on the underlying <button> element.

menuId#

Type: string|null | Default: null

The id of the menu that is tied to this control.

isEnabled#

Type: boolean | Default: true

Whether the control is rendered in the DOM or not.

isActive#

Type: boolean | Default: false

Whether the menu that is tied to this control is active or not.

Methods#

getControl#

Return Type: Control

The underlying Control instance.

Events#

Control#

Forwards all Control events.