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¶
Constructor¶
new StepButton( providedOptions? : StepButtonOptions )¶
Instance Methods¶
Type StepButtonOptions¶
- radius?: number
- direction?: Direction
- iconFill?: TPaint
- & StrictOmit<RoundPushButtonOptions, "content" | "xContentOffset" | "xMargin" | "yMargin">
Source Code¶
See the source for StepButton.ts in the scenery-phet repository.