Skip to content

CloseButton

Overview

Close button, red with a white 'X'.

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

Class CloseButton

import { CloseButton } from 'scenerystack/scenery-phet';

Constructor

new CloseButton( providedOptions? : CloseButtonOptions )

Instance Methods

Type CloseButtonOptions

import type { CloseButtonOptions } from 'scenerystack/scenery-phet';

Source Code

See the source for CloseButton.ts in the scenery-phet repository.