PlayPauseButton¶
Overview¶
Play pause button for starting/stopping the sim. Often appears at the bottom center of the screen. Generated programmatically using RoundPushButton (as opposed to using raster images).
@author Sam Reid (PhET Interactive Simulations) @author Jesse Greenberg (PhET Interactive Simulations)
Class PlayPauseButton¶
Constructor¶
new PlayPauseButton( isPlayingProperty : Property<boolean>, providedOptions? : PlayPauseButtonOptions )¶
Instance Methods¶
Type PlayPauseButtonOptions¶
Source Code¶
See the source for PlayPauseButton.ts in the scenery-phet repository.