Skip to content

MomentaryButtonInteractionStateProperty

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

Overview

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

@author Chris Malley (PixelZoom, Inc.)

Class MomentaryButtonInteractionStateProperty

import { MomentaryButtonInteractionStateProperty } from 'scenerystack/sun';

Constructor

new MomentaryButtonInteractionStateProperty( buttonModel : MomentaryButtonModel<T> )

Instance Methods

Source Code

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