Skip to content

HomeScreen

Overview

Screen for the home screen, which shows icons for selecting the sim content screens.

@author Sam Reid (PhET Interactive Simulations)

Class HomeScreen

import { HomeScreen } from 'scenerystack/sim';

Constructor

new HomeScreen( simNameProperty : TReadOnlyProperty<string>, getScreenProperty : () => Property<Screen<IntentionalAny, IntentionalAny>>, simScreens : Screen<IntentionalAny, IntentionalAny>[], activeSimScreensProperty : ReadOnlyProperty<Screen<IntentionalAny, IntentionalAny>[]>, providedOptions : HomeScreenOptions )

Instance Methods

Static Properties

BACKGROUND_COLOR

(readonly)

Source Code

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