Skip to content

MomentaryButtonInteractionStateProperty

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.