Skip to content

Commit

Permalink
Added PhET-iO documentation, see phetsims/faradays-law#79
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Mar 26, 2018
1 parent 26598a5 commit 4ba9468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/buttons/ResetAllButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ define( function( require ) {
// @private - Mirrored property of `buttonModel.isFiringProperty`, but is phet-io instrumented.
this.isFiringProperty = new DerivedProperty( [ this.buttonModel.isFiringProperty ], function( a ) { return a; }, {
tandem: options.tandem.createTandem( 'isFiringProperty' ),
phetioInstanceDocumentation: 'Temporarily becomes true while the Reset All button is firing. Commonly used to disable audio effects during reset.',
phetioType: DerivedPropertyIO( BooleanIO ),
phetioState: options.phetioState,
phetioReadOnly: options.phetioReadOnly
Expand Down

0 comments on commit 4ba9468

Please sign in to comment.