Skip to content

PushButtonInteractionStateProperty

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

Overview

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

@author John Blanco (PhET Interactive Simulations)

Class PushButtonInteractionStateProperty

import { PushButtonInteractionStateProperty } from 'scenerystack/sun';

Constructor

new PushButtonInteractionStateProperty( buttonModel : PushButtonModel )

Instance Methods

Type PushButtonInteractionStatePropertyOptions

import type { PushButtonInteractionStatePropertyOptions } from 'scenerystack/sun';

DerivedPropertyOptions<ButtonInteractionState>

Source Code

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