Skip to content

ToggleButtonInteractionStateProperty

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.