Guest User

Untitled

a guest
Aug 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. this.controller.setupWidget("pageScroller",
  2. this.attributes = {
  3. mode: 'horizontal-snap'
  4. },
  5. this.model = {
  6. snapElements: {
  7. x: [thisA.controller.get("left"), thisA.controller.get("right")]
  8. }
  9. }
  10. );
  11.  
  12. this.controller.get("pageScroller").Mojo.setSnapIndex(0, true);
Add Comment
Please, Sign In to add comment