Skip to content

QuestionBar

Overview

In every screen, the question bar at the top provides a framing question and context.

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

Class QuestionBar

import { QuestionBar } from 'scenerystack/scenery-phet';

Constructor

new QuestionBar( layoutBounds : Bounds2, visibleBoundsProperty : TReadOnlyProperty<Bounds2>, providedOptions : QuestionBarOptions )

Instance Methods

dispose()

Type QuestionBarOptions

import type { QuestionBarOptions } from 'scenerystack/scenery-phet';

Source Code

See the source for QuestionBar.ts in the scenery-phet repository.