Method returns boolean value which determines whether a slide is opening or closing.
1) Method can be called inside every callback function (as demonstrated in demo 1):
this.isAnimated();
2) In case there is only one element matching the selector, method can be called anywhere in your code (as demonstrated in demo 2):
$('selector').data('jAccordion').isAnimated();
3) In case there are more elements matching the selector, method can be called anywhere in your code (eq(index) specifies index of accordion instace):
$('selector').eq(index).data('jAccordion').isAnimated();
Demo 1 demonstrates how to call the described method inside callback functions onSlideStartOpening() and onSlideOpened() (the protocol is the same for all callback functions). Open a slide by moving cursor over it and look at the report displayed below accordion. The report consists of type of callback and result of calling the described method which indicates whether a slide is opening or closing.
Demo 2 demonstrates how to call the described method anywhere in your code.
jAccordion by maniacpc, exclusively for CodeCanyon