RectangularStickyToggleButton¶
Overview¶
RectangularStickyToggleButton is a rectangular toggle button that toggles the value of a Property between 2 values. It has a different look (referred to as 'up' and 'down') for the 2 values.
@author John Blanco (PhET Interactive Simulations) @author Sam Reid (PhET Interactive Simulations)
Class RectangularStickyToggleButton¶
Constructor¶
new RectangularStickyToggleButton( valueProperty : TProperty<T>, valueUp : T, valueDown : T, providedOptions? : RectangularStickyToggleButtonOptions )¶
Instance Methods¶
dispose()¶
Type RectangularStickyToggleButtonOptions¶
- soundPlayer?: TSoundPlayer
- & RectangularButtonOptions
Source Code¶
See the source for RectangularStickyToggleButton.ts in the sun repository.