Skip to content

PhetMenu

Overview

The 'PhET' menu, which appears in the bottom-right of the home screen and the navigation bar, with options like "PhET Website", "Settings", etc.

@author Sam Reid (PhET Interactive Simulations)

Class PhetMenu

import { PhetMenu } from 'scenerystack/sim';

Constructor

new PhetMenu( sim : Sim, providedOptions? : PhetMenuOptions )

Instance Methods

Instance Properties

items : MenuItem[]

(readonly)

The items that will actually be shown in this runtime

Static Properties

PhetMenuIO : IOType

Source Code

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