flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [21/28] git commit: [flex-asjs] [refs/heads/develop] - need set verticalScrollPosition
Date Tue, 23 Dec 2014 07:41:44 GMT
need set verticalScrollPosition


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c808046e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c808046e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c808046e

Branch: refs/heads/develop
Commit: c808046e4b56567b4fec310904ccfb944010bea8
Parents: f073481
Author: Alex Harui <aharui@apache.org>
Authored: Mon Dec 22 10:03:45 2014 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Dec 22 10:03:45 2014 -0800

----------------------------------------------------------------------
 .../org/apache/flex/html/beads/ScrollingContainerView.js | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c808046e/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
index d300b5f..0aef1d1 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/ScrollingContainerView.js
@@ -80,6 +80,17 @@ function() {
 
 /**
  * @expose
+ * @param {number} value The resizeable view.
+ */
+org.apache.flex.html.beads.ScrollingContainerView.prototype.set_verticalScrollPosition =
+function(value) {
+
+  this._strand.scrollTop = value;
+};
+
+
+/**
+ * @expose
  * @return {number} value The resizeable view.
  */
 org.apache.flex.html.beads.ScrollingContainerView.prototype.get_maxVerticalScrollPosition
=


Mime
View raw message