Created
February 28, 2013 17:10
-
-
Save evliu/5058301 to your computer and use it in GitHub Desktop.
AUI ScrollInfo snippet
This file contains 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
<script> | |
var body = A.one('body'); | |
body.plug(A.Plugin.ScrollInfo); | |
body.scrollInfo.on('scrollToBottom', function (event){ | |
//Load more content when the user scrolls to the bottom of the page | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment