Skip to content

HomeScreenModel

Overview

Model for the home screen.

@author Michael Kauzmann (PhET Interactive Simulations) @author Sam Reid (PhET Interactive Simulations) @author Chris Klusendorf (PhET Interactive Simulations)

Class HomeScreenModel

import { HomeScreenModel } from 'scenerystack/sim';

Constructor

new HomeScreenModel( screenProperty : Property<Screen<IntentionalAny, IntentionalAny>>, simScreens : Screen<IntentionalAny, IntentionalAny>[], activeSimScreensProperty : ReadOnlyProperty<AnyScreen[]>, tandem : Tandem )

Instance Methods

reset()

Instance Properties

simScreens : AnyScreen[]

screenProperty : Property<AnyScreen>

selectedScreenProperty : Property<AnyScreen>

activeSimScreensProperty : ReadOnlyProperty<AnyScreen[]>

(readonly)

Source Code

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