Canvas Library
 

absStartScroll Library Method

Short Description: Set absolute scroll start of transition

Signature: t.absStartScroll (scrollPosition)
Group: Control
Class: transition Class
 

Makes the transition play while the page is scrolled down. The transition will start playing when the page is scrolled down to or below the given scrollPosition.

scrollPosition gives the number of pixels the page is scrolled down. 0 means that the page has not yet been scrolled down.

Usually this is used in combination with distance. absStartScroll, startScroll, and distance can not be used in combination with startTime, absStartTime, or duration. Also if absStartScroll and startScroll are used within a single transition only the last one becomes effective.

Next Page:transition.startScroll - Set scroll start of transition
Previous Page: transition.perm - Set duration of transition to permanent
Please Add a Comment or Question, click here!