LocalePanel¶
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/LocalePanel.ts for the most up-to-date information.
Overview¶
A UI component that allows you to change language of the simulation at runtime by controlling the localeProperty. It appears in the "Localization" tab of the Preferences dialog.
This is a first iteration of this UI component. It may be improved in the future. See https://github.com/phetsims/joist/issues/814 for more history.
@author Jesse Greenberg (PhET Interactive Simulations)
Class LocalePanel¶
Constructor¶
new LocalePanel( localeProperty : LocaleProperty )¶
Instance Methods¶
Source Code¶
See the source for LocalePanel.ts in the joist repository.