MoveToTrashButton¶
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.