RoundStickyToggleButton¶
Overview¶
RoundStickyToggleButton is a round 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 RoundStickyToggleButton¶
Constructor¶
new RoundStickyToggleButton( valueProperty : TProperty<T>, valueUp : T, valueDown : T, providedOptions? : RoundStickyToggleButtonOptions )¶
Instance Methods¶
dispose()¶
Type RoundStickyToggleButtonOptions¶
- soundPlayer?: TSoundPlayer
- & RoundButtonOptions
Source Code¶
See the source for RoundStickyToggleButton.ts in the sun repository.