Skip to content

BooleanRoundStickyToggleButton

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.