Page 1 of 1

How to set default animation for collapsible component?

Posted: Tue Jun 30, 2015 10:31 pm
by Michael Droll

Is there a way to set the default animation of the collapsible component?

Or to override the click event that expands it and write my own Javascript to call the ".slideDown"?

Just having the panel explode into existence when the component is clicked doesn't have the polished feel I'm looking for.

Thank you in advance for the help.


How to set default animation for collapsible component?

Posted: Thu Jul 02, 2015 8:48 am
by Alena Prykhodko

Hello Michael,

In builder there is no such build-in option.This should be possible with code, please check these threads:
http://stackoverflow.com/questions/21...
http://stackoverflow.com/questions/85...


How to set default animation for collapsible component?

Posted: Thu Jul 02, 2015 1:43 pm
by Michael Droll

I tried both of the scripts you linked to and neither one worked.
I'm probably not adding them in the right place.

I created a new JS asset and pasted the code in without a function.
Is this the correct method?


How to set default animation for collapsible component?

Posted: Wed Jul 08, 2015 4:52 pm
by Evgene Karachevtsev

Hello Michael,

We are sorry for delay. Please try to use this code on the click event for collapsible component. Also please note that because of the fact that this code is provided by 3rd party resources, we can't guarantee that it will work.