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¶
Constructor¶
new QuestionBar( layoutBounds : Bounds2, visibleBoundsProperty : TReadOnlyProperty<Bounds2>, providedOptions : QuestionBarOptions )¶
Instance Methods¶
dispose()¶
Type QuestionBarOptions¶
- questionString: string | TReadOnlyProperty<string>
- textOptions?: TextOptions
- & StrictOmit<StatusBarOptions, "floatToTop">
Source Code¶
See the source for QuestionBar.ts in the scenery-phet repository.