MoveToTrashButton¶
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/MoveToTrashButton.ts for the most up-to-date information.
Overview¶
MoveToTrashButton is a push button whose icon means 'move to trash'. The arrow can be color-coded to the thing being deleted by setting options.arrowColor.
@author Sam Reid (PhET Interactive Simulations) @author Jonathan Olson <jonathan.olson@colorado.edu>
Class MoveToTrashButton¶
Constructor¶
new MoveToTrashButton( providedOptions? : MoveToTrashButtonOptions )¶
Instance Methods¶
Type MoveToTrashButtonOptions¶
- arrowColor?: TColor
- iconScale?: number
- & StrictOmit<RectangularPushButtonOptions, "content">
Source Code¶
See the source for MoveToTrashButton.ts in the scenery-phet repository.