Created
April 23, 2014 15:49
-
-
Save jforaker/11220833 to your computer and use it in GitHub Desktop.
scrollable config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scrollable: { | |
fps: 'auto', | |
direction : 'vertical', | |
directionLock: true, | |
indicators: false, | |
momentumEasing: { | |
momentum: { | |
acceleration: 30, // how slowly it stops - high # = stops less | |
friction: 0.7 // stick factor | |
}, | |
bounce: { | |
acceleration: 50, | |
springTension: 1 //how slow the bounce effect is - low = slow | |
} | |
}, | |
// seeing the area "behind" container | |
outOfBoundRestrictFactor: 0.5 | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment