Skip to content

Commit

Permalink
Adding Stopwatch positionProperty documentation for phetsims/wave-on-…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed May 14, 2020
1 parent 9eef926 commit 652ac89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/Stopwatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class Stopwatch extends PhetioObject {

// @public - position of the stopwatch, in view coordinates
this.positionProperty = new Vector2Property( options.position, {
tandem: options.tandem.createTandem( 'positionProperty' )
tandem: options.tandem.createTandem( 'positionProperty' ),
phetioDocumentation: `view coordinates for the upper-left of the stopwatch (initially ${options.position.x},${options.position.y})`
} );

// @public - whether the stopwatch is visible
Expand Down

0 comments on commit 652ac89

Please sign in to comment.