EyeToggleButton¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/buttons/EyeToggleButton.ts for the most up-to-date information.
Overview¶
Button that toggles between an open and closed eyeball, used to control the visibility of something.
@author Chris Malley (PixelZoom, Inc.)
Class EyeToggleButton¶
Constructor¶
new EyeToggleButton( eyeOpenProperty : Property<boolean>, providedOptions? : EyeToggleButtonOptions )¶
Instance Methods¶
dispose()¶
Type EyeToggleButtonOptions¶
StrictOmit<RectangularToggleButtonOptions, "content">
Source Code¶
See the source for EyeToggleButton.ts in the scenery-phet repository.