From 4bcdee1a0ef8d9346396179f36688ba83e245008 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sat, 10 Nov 2012 09:45:51 -0500 Subject: [PATCH] more options --- lib/assets/javascripts/caroufredsel.js.coffee | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/assets/javascripts/caroufredsel.js.coffee b/lib/assets/javascripts/caroufredsel.js.coffee index 5643119..ba32911 100644 --- a/lib/assets/javascripts/caroufredsel.js.coffee +++ b/lib/assets/javascripts/caroufredsel.js.coffee @@ -28,6 +28,15 @@ class @Carousel @carousel.trigger('pause') this + prev: => + @carousel.trigger('prev') + + next: => + @carousel.trigger('next') + + play: => + @carousel.trigger('play') + onChange: (item) -> null