summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products/GalleryView.js
blob: 2eabe2a6136ffd9a0bee93837e512a93ca2e1fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
var GalleryView = View.extend({

  el: "#gallery",
  
  events: {
    "click .left": "prev",
    "click .right": "next",
    "touchstart .gallery": "touchstart",
    "touchmove .gallery": "touchmove",
    "touchend .gallery": "touchend",
  },
  
  initialize: function(){
    this.$prev = this.$(".prev")
    this.$next = this.$(".next")
    this.$slider = this.$(".slider")
  },
  
  populate: function(){
  },

  prev: function(){
  },
  next: function(){
  },
  touchstart: function(e){
  },
  touchmove: function(e){
  },
  touchend: function(e){
  },

})