PlayStopButton¶
Overview¶
Button for starting/stopping some behavior. Unlike the PlayPauseButton, this indicates that play will re-start from the beginning after switch from play to stop.
@author Sam Reid (PhET Interactive Simulations) @author Jesse Greenberg (PhET Interactive Simulations)
Class PlayStopButton¶
Constructor¶
new PlayStopButton( isPlayingProperty : Property<boolean>, providedOptions? : PlayStopButtonOptions )¶
Instance Methods¶
Type PlayStopButtonOptions¶
Source Code¶
See the source for PlayStopButton.ts in the scenery-phet repository.