Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

How to set default animation for collapsible component?

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.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to set default animation for collapsible component?

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...

Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

How to set default animation for collapsible component?

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?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to set default animation for collapsible component?

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.

Return to “Issues”