Carousel's "onShow" event does not fire when user swipes

Hi,
I woud like to execute logic in Carousel’s onShow event;
on iPad or simulator when user swipes carousel onShow does not fire, is it by design?
see snippet: http://webix.com/snippet/d21be7fb .
if so how can I accomplish the same i.e. to know what item in carousel is shown currently
when user swipes?

Thank you.

You can try to use onAfterScroll event of carousel, it will fire after touch scroll end and from here you can use carousel.getActiveId() to get id of visible view.

Starting from Webix 2.2, changing the active carousel view by swipe will trigger onShow event

great, thank you