Start element folded up
custa1200 opened this issue · comments
Is there a way to load the page with the element already folded up to being not visible, and then when an event occurs to unfold it into view?
You can set the speed
option to 0
when you create the instance and fold it completely, e.g.:
var example = new OriDomi('.example', { speed: 0 });
example.accordion(90);
// later...
example.setSpeed(700).accordion(0);