Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var instances = M.Carousel.init(elems, {
- fullWidth: true,
- onCycleTo: function(data) {
- var lastindex;
- var index;
- lastindex = index;
- index = $(data).data('cindex');
- }
- });
- var timer;
- clearTimeout(timer);
- timer = setTimeout(function() {
- console.log("has stopped");
- }, 1000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement