How can I cancel an event? I am trying to make a Carousel not infinite loop, so the idea was to capture the BeforeNext and BeforePrev events and then verify the currentIndex of frames, if it's the last one or the first one, i would cancel the event... On common Javascript a simple e.stopPropagation() do the work, but i don't have the e variable on my event handler using appery.io API... Any idea?