-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIDOC-414] [TIDOC-120] [TIDOC-245] [TIDOC-188] APIDoc: UI.ScrollView rewrite #1515
Conversation
- name: scale | ||
summary: New scaling factor as a float. | ||
type: Number | ||
|
||
- name: x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This property is not on the scale event in iOS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in next update
Docs reviewed. Please address comments. |
type: Number | ||
|
||
- name: setContentOffset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Android does not have setContentOffset. However, there is a scrollToBottom() method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in next update.
Code reviewed, left a couple of comments. |
Updated. Please review. |
- name: y | ||
summary: Y coordinate of the event from the `source` view's coordinate system. | ||
- name: x | ||
summary: X coordinate of the event from the `source` view's coordinate system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x & y should not be removed. This still exists in android.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore this comment, didn't see it below.
Code reviewed and functionally tested. Request Accepted |
summary: disable view bouncing. | ||
summary: Determines whether all scroll bounce of the scrollable region is enabled. | ||
description: | | ||
Set to `true` to disable vertical bounce. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also disables horizontal bounce.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in next update.
Docs reviewed; please address comments. Looks like I was wrong about some of the initial information for bounce parameters. |
Updated. Please review. |
|
||
#### Scrolling and Dragging | ||
|
||
This view supports two types of gesturedrag is when your finger is still on the scroll view and you are physically dragging it versus the scrolling which is due to momentum (you scrolled the view with your finger, lifted your finger and the view cotinues to move) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space/punctuation needed in gesturedrag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May want a comma in here; dragging it, versus the
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, Stephen, I didn't mean to leave this in there. I've explained this in the events.
Fixed in next update.
Docs reviewed, additional comments |
Updated. Please review. |
Docs reviewed, APPROVED. |
Code reviewed and functionally tested. Request Accepted |
[TIDOC-414] [TIDOC-120] [TIDOC-245] [TIDOC-188] APIDoc: UI.ScrollView rewrite
https://jira.appcelerator.org/browse/TIDOC-414
https://jira.appcelerator.org/browse/TIDOC-120
https://jira.appcelerator.org/browse/TIDOC-245
https://jira.appcelerator.org/browse/TIDOC-188