Skip to content

Instantly share code, notes, and snippets.

@srahim
Created January 18, 2012 22:06
Show Gist options
  • Select an option

  • Save srahim/1636107 to your computer and use it in GitHub Desktop.

Select an option

Save srahim/1636107 to your computer and use it in GitHub Desktop.
doc
- name: setContentOffset
summary: |
Sets the value of [contentOffset](Titanium.UI.ScrollView.contentOffset) property.
In iOS, there is an additional parameter `animated` that can be set to true/false to turn ON/OFF the animation while changing the
contents Offset. Forexample setcontentOffset({x:50,y:100},{animated:true})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment