From 3a4784bcd983e0e5bbb6bfb4fc1c132d29e17d17 Mon Sep 17 00:00:00 2001 From: Chris Malley Date: Thu, 17 Jun 2021 14:37:11 -0600 Subject: [PATCH] revise doc for onChange, https://github.com/phetsims/scenery/issues/1239 --- js/accessibility/AccessibleValueHandler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/accessibility/AccessibleValueHandler.js b/js/accessibility/AccessibleValueHandler.js index a85d04b0..77537c95 100644 --- a/js/accessibility/AccessibleValueHandler.js +++ b/js/accessibility/AccessibleValueHandler.js @@ -76,9 +76,9 @@ const AccessibleValueHandler = { startChange: _.noop, // called when a value change sequence starts endChange: _.noop, // called when a value change sequence ends - // Called after any change to valueProperty. Useful for "press and hold" keyboard input. However, be aware - // that other some devices as switch will only trigger one change per input, and no concept of "press and - // hold". This function will still be called once per input in those cases. + // Called after any change to valueProperty. Useful for input devices that support "press and hold" input. + // However, beware that some input devices, such as a switch, have no concept of "press and hold" and will + // trigger once per input. In those cases, this function will be called once per input. onChange: _.noop, // {function(number):number} - Constrains the value, returning a new value for the valueProperty instead.