Skip to content

StickyToggleButtonInteractionStateProperty

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

Overview

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

@author John Blanco (PhET Interactive Simulations)

Class StickyToggleButtonInteractionStateProperty

import { StickyToggleButtonInteractionStateProperty } from 'scenerystack/sun';

Constructor

new StickyToggleButtonInteractionStateProperty( buttonModel : StickyToggleButtonModel<T> )

Instance Methods

Source Code

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