Skip to content

PreferencesTab

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/joist/blob/main/js/preferences/PreferencesTab.ts for the most up-to-date information.

Overview

A single tab of the PreferencesDialog. Selecting this PreferencesTab makes its associated PreferencesPanel visible in the dialog.

@author Jesse Greenberg

Class PreferencesTab

import { PreferencesTab } from 'scenerystack/sim';

Constructor

new PreferencesTab( labelProperty : TReadOnlyProperty<string>, property : TProperty<PreferencesType>, value : PreferencesType, providedOptions : PreferencesTabOptions )

Instance Methods

Instance Properties

value : PreferencesType

(readonly)

The value of this tab, when this tab is Pressed, the panel of this PreferencesType will be displayed.

Source Code

See the source for PreferencesTab.ts in the joist repository.