Skip to content

Instantly share code, notes, and snippets.

@zhenjl
Last active December 19, 2015 05:49
Show Gist options
  • Save zhenjl/5907237 to your computer and use it in GitHub Desktop.
Save zhenjl/5907237 to your computer and use it in GitHub Desktop.
var container = znPageManager.container('zn-pages-container-0');
// or znPageManager.containers()[0]
$scope.slideLeft = function() { container.slideLeft(); };
$scope.slideRight = function() { container.slideRight(); };
$scope.slideDown = function() { container.slideDown(); };
$scope.slideUp = function() { container.slideUp(); };
$scope.slideHome = function() { container.slideHome(); };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment