Skip to content

BooleanRoundStickyToggleButton

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/sun/blob/main/js/buttons/BooleanRoundStickyToggleButton.ts for the most up-to-date information.

Overview

A round toggle button that toggles the value of a boolean Property.

@author John Blanco (PhET Interactive Simulations) @author Sam Reid (PhET Interactive Simulations)

Class BooleanRoundStickyToggleButton

import { BooleanRoundStickyToggleButton } from 'scenerystack/sun';

Constructor

new BooleanRoundStickyToggleButton( booleanProperty : TProperty<boolean>, providedOptions? : BooleanRoundStickyToggleButtonOptions )

Instance Methods

Type BooleanRoundStickyToggleButtonOptions

import type { BooleanRoundStickyToggleButtonOptions } from 'scenerystack/sun';

RoundStickyToggleButtonOptions

Source Code

See the source for BooleanRoundStickyToggleButton.ts in the sun repository.