Skip to content

HomeScreenModel

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/HomeScreenModel.ts for the most up-to-date information.

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.