Skip to content

ToggleButtonInteractionStateProperty

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

Overview

A DerivedProperty that maps ToggleButtonModel states to the states needed by the button view.

@author Sam Reid (PhET Interactive Simulations)

Class ToggleButtonInteractionStateProperty

import { ToggleButtonInteractionStateProperty } from 'scenerystack/sun';

Constructor

new ToggleButtonInteractionStateProperty( toggleButtonModel : ToggleButtonModel<T> )

Instance Methods

Source Code

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