Skip to content

TimerToggleButton

Overview

Button for toggling timer on and off.

@author John Blanco

Class TimerToggleButton

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

Constructor

new TimerToggleButton( timerRunningProperty : Property<boolean>, provideOptions? : TimerToggleButtonOptions )

Instance Methods

Type TimerToggleButtonOptions

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

BooleanRectangularToggleButtonOptions

Source Code

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