v2.0.3-beta
This commit is contained in:
@ -164,6 +164,15 @@ let ventajas = {
|
||||
this.elem.find('.nav.right').click((e) => {
|
||||
this.next()
|
||||
})
|
||||
|
||||
this.elem.find('.gallery').swipe({
|
||||
swipeLeft: (e, dir, d, t, n, data) => {
|
||||
this.next()
|
||||
},
|
||||
swipeRight: (e, dir, d, t, n, data) => {
|
||||
this.prev()
|
||||
}
|
||||
})
|
||||
},
|
||||
current: 1,
|
||||
next: function() {
|
||||
|
Reference in New Issue
Block a user