ExpandCollapseButton¶
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/ExpandCollapseButton.ts for the most up-to-date information.
Overview¶
Button for expanding/collapsing something.
@author Chris Malley (PixelZoom, Inc.) @author Jesse Greenberg (PhET Interactive Simulations)
Class ExpandCollapseButton¶
Constructor¶
new ExpandCollapseButton( expandedProperty : Property<boolean>, providedOptions? : ExpandCollapseButtonOptions )¶
Instance Methods¶
dispose()¶
Type ExpandCollapseButtonOptions¶
- sideLength?: number
- & StrictOmit<BooleanRectangularToggleButtonOptions, "cornerRadius" | "xMargin" | "yMargin" | "buttonAppearanceStrategy">
Source Code¶
See the source for ExpandCollapseButton.ts in the sun repository.