Skip to content

RestartButton

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

Overview

Restart button.

@author Sam Reid (PhET Interactive Simulations)

Class RestartButton

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

Constructor

new RestartButton( providedOptions? : RestartButtonOptions )

Instance Methods

Type RestartButtonOptions

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

StrictOmit<RoundPushButtonOptions, "content">

Source Code

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