Skip to content

TrashButton

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/TrashButton.ts for the most up-to-date information.

Overview

TrashButton is a rectangular push button with PhET's standard 'trash' icon.

@author Chris Malley (PixelZoom, Inc.)

Class TrashButton

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

Constructor

new TrashButton( providedOptions? : TrashButtonOptions )

Instance Methods

Type TrashButtonOptions

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

Source Code

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