BooleanRoundToggleButton¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/sun/blob/main/js/buttons/BooleanRoundToggleButton.ts for the most up-to-date information.
Overview¶
This toggle button uses a boolean Property and a trueNode and falseNode to display its content.
@author Sam Reid
Class BooleanRoundToggleButton¶
Constructor¶
new BooleanRoundToggleButton( booleanProperty : Property<boolean>, trueNode : Node, falseNode : Node, providedOptions? : BooleanRoundToggleButtonOptions )¶
Instance Methods¶
dispose()¶
Type BooleanRoundToggleButtonOptions¶
StrictOmit<RoundToggleButtonOptions, "content">
Source Code¶
See the source for BooleanRoundToggleButton.ts in the sun repository.