BooleanRectangularToggleButton¶
Overview¶
This toggle button uses a boolean Property and a trueNode and falseNode to display its content.
@author John Blanco (PhET Interactive Simulations)
Class BooleanRectangularToggleButton¶
Constructor¶
new BooleanRectangularToggleButton( booleanProperty : Property<boolean>, trueNode : Node, falseNode : Node, providedOptions? : BooleanRectangularToggleButtonOptions )¶
Instance Methods¶
dispose()¶
Type BooleanRectangularToggleButtonOptions¶
StrictOmit<RectangularToggleButtonOptions, "content">
Source Code¶
See the source for BooleanRectangularToggleButton.ts in the sun repository.