Permalink
Browse files

Minor doc fix.

  • Loading branch information...
wittemann committed Aug 22, 2012
1 parent 714e8b7 commit db969994ea062db79aad231f26f23acf12ec1d7c
Showing with 4 additions and 4 deletions.
  1. +4 −4 framework/source/class/qx/ui/core/scroll/AbstractScrollArea.js
@@ -365,7 +365,7 @@ qx.Class.define("qx.ui.core.scroll.AbstractScrollArea",
* Scrolls the element's content to the given left coordinate
*
* @param value {Integer} The vertical position to scroll to.
- * @param duration {Number} The time in milliseconds the scroll to should take.
+ * @param duration {Number?} The time in milliseconds the scroll to should take.
*/
scrollToX : function(value, duration) {
// First flush queue before scroll
@@ -379,7 +379,7 @@ qx.Class.define("qx.ui.core.scroll.AbstractScrollArea",
* Scrolls the element's content by the given left offset
*
* @param value {Integer} The vertical position to scroll to.
- * @param duration {Number} The time in milliseconds the scroll to should take.
+ * @param duration {Number?} The time in milliseconds the scroll to should take.
*/
scrollByX : function(value, duration) {
// First flush queue before scroll
@@ -405,7 +405,7 @@ qx.Class.define("qx.ui.core.scroll.AbstractScrollArea",
* Scrolls the element's content to the given top coordinate
*
* @param value {Integer} The horizontal position to scroll to.
- * @param duration {Number} The time in milliseconds the scroll to should take.
+ * @param duration {Number?} The time in milliseconds the scroll to should take.
*/
scrollToY : function(value, duration) {
// First flush queue before scroll
@@ -419,7 +419,7 @@ qx.Class.define("qx.ui.core.scroll.AbstractScrollArea",
* Scrolls the element's content by the given top offset
*
* @param value {Integer} The horizontal position to scroll to.
- * @param duration {Number} The time in milliseconds the scroll to should take.
+ * @param duration {Number?} The time in milliseconds the scroll to should take.
*/
scrollByY : function(value, duration) {
// First flush queue before scroll

0 comments on commit db96999

Please sign in to comment.