I have a List Region with List Template of Cards
that has a static ID = pg2_stid_section_1
I am trying to capture the click event of the collapsible/expandable region.
I tried creating a dynamic action with
Event=Click
Selection Type = jQuery Selector
jQuery Selector = $('#pg2_stid_section_1 button.t-Button--hideShow')
The dynamic action does not fire when I click the region icon.
I want to save either a 'C' or "E' in the database when the user clicks the region.
Then on page load, I retrieve that value, and collapse/expand region in page load dynamic action.
Can't seem to get the syntax correct on the jQuery Selector.
Could also use a page unload dynamic action, but do not know how to capture if the region is collapsed/expanded.
I have read thru the article
https://svenweller.wordpress.com/2016/01/21/apex5-ut-remote-control-for-collapsible-regions/
I guess I am missing something because that is what I understand the article
is describing as the jQuery Selector.