options
Options
An object of configurable options.
clipSize
Number
The size of the area (in pixels) that Scrollview will display content in.
margin
Number
The size of the area (in pixels) that Scrollview will process renderables' associated calculations in.
friction
Number
Input resistance proportional to the velocity of the input. Controls the feel of the Scrollview instance at low velocities.
drag
Number
Input resistance proportional to the square of the velocity of the input. Affects Scrollview instance more prominently at high velocities.
edgeGrip
Number
A coefficient for resistance against after-touch momentum.
egePeriod
Number
Sets the period on the spring that handles the physics associated with hitting the end of a scrollview.
edgeDamp
Number
Sets the damping on the spring that handles the physics associated with hitting the end of a scrollview.
paginated
Boolean
A paginated scrollview will scroll through items discretely rather than continously.
pagePeriod
Number
Sets the period on the spring that handles the physics associated with pagination.
pageDamp
Number
Sets the damping on the spring that handles the physics associated with pagination.
pageStopSpeed
Number
The threshold for determining the amount of velocity required to trigger pagination. The lower the threshold, the easier it is to scroll continuosly.
pageSwitchSpeed
Number
The threshold for momentum-based velocity pagination.
speedLimit
Number
The highest scrolling speed you can reach.
Returns the position associated with the Scrollview instance's current node (generally the node currently at the top).
Returns the offset associated with the Scrollview instance's current node (generally the node currently at the top).
Sets the collection of renderables under the Scrollview instance's control, by setting its current node to the passed in ViewSequence. If you pass in an array, the Scrollview instance will set its node as a ViewSequence instantiated with the passed-in array.