Skip to content

ExpandCollapseButton

Overview

Button for expanding/collapsing something.

@author Chris Malley (PixelZoom, Inc.) @author Jesse Greenberg (PhET Interactive Simulations)

Class ExpandCollapseButton

import { ExpandCollapseButton } from 'scenerystack/sun';

Constructor

new ExpandCollapseButton( expandedProperty : Property<boolean>, providedOptions? : ExpandCollapseButtonOptions )

Instance Methods

dispose()

Type ExpandCollapseButtonOptions

import type { ExpandCollapseButtonOptions } from 'scenerystack/sun';

Source Code

See the source for ExpandCollapseButton.ts in the sun repository.