Skip to content

StepButton

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

Overview

Generalized button for stepping forward or back. While this class is not private, clients will generally use the convenience subclasses: StepForwardButton and StepBackwardButton

@author Sam Reid (PhET Interactive Simulations) @author Chris Malley (PixelZoom, Inc.)

Class StepButton

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

Constructor

new StepButton( providedOptions? : StepButtonOptions )

Instance Methods

Type StepButtonOptions

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

Source Code

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