Skip to content

PushButtonInteractionStateProperty

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.