Skip to content

EraserButton

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

Overview

Button with an eraser icon.

@author John Blanco

Class EraserButton

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

Constructor

new EraserButton( providedOptions? : EraserButtonOptions )

Instance Methods

Type EraserButtonOptions

import type { EraserButtonOptions } from 'scenerystack/scenery-phet';
  • iconWidth?: number
  • & StrictOmit<TrimmedParentOptions, "content">

Source Code

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