Toblerone
Posts: 0
Joined: Wed Aug 07, 2013 5:08 pm

Click/Expand event of collapisble panel

Hi all,

I want to invoke a service so that when I expand a collapsible panel a service is called to populate some fields within the panel. However, the click event of the panel is never raised unless I click inside the panel. Is there no way to handle a click/expand event on the collapsible panel itself?

Thanks

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Click/Expand event of collapisble panel

Hi Toby,

You can use Collapse and Expand events for this component.

Angela Temple Rogers
Posts: 0
Joined: Thu Sep 19, 2013 4:27 am

Click/Expand event of collapisble panel

Could you share an example of this?

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Click/Expand event of collapisble panel

Appery('yourblock').trigger('expand');//dynamically collapse and expand a collapsible block

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Click/Expand event of collapisble panel

Hi Angel,

You can also use collapse event inside of Collapsible panel component:
codeAppery('mobilecollapsblock_1').trigger('collapse');
Appery('mobilecollapsblock_1').trigger('expand');/code

osiris1@yahoo.com
Posts: 0
Joined: Mon Jun 10, 2013 5:34 pm

Click/Expand event of collapisble panel

Excellent, the code was very helpful.

Return to “Issues”