From 652ac890b4812f67aa3be7cf076bfef6e4434f1a Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Thu, 14 May 2020 10:27:28 -0600 Subject: [PATCH] Adding Stopwatch positionProperty documentation for https://github.com/phetsims/wave-on-a-string/issues/147 --- js/Stopwatch.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/Stopwatch.js b/js/Stopwatch.js index 7409976b5..be34d49e8 100644 --- a/js/Stopwatch.js +++ b/js/Stopwatch.js @@ -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