MomentaryButtonModel¶
Overview¶
Model for a momentary button: on when pressed, off when released.
@author Chris Malley (PixelZoom, Inc.)
Class MomentaryButtonModel¶
Constructor¶
new MomentaryButtonModel( valueOff : T, valueOn : T, valueProperty : TProperty<T>, providedOptions? : MomentaryButtonModelOptions )¶
Instance Methods¶
dispose()¶
Instance Properties¶
valueOn : T¶
(readonly)
Type MomentaryButtonModelOptions¶
Source Code¶
See the source for MomentaryButtonModel.ts in the sun repository.