# What event is triggered when the Pro Gallery expand mode is closed?

**URL:** <https://forum.wixstudio.com/t/what-event-is-triggered-when-the-pro-gallery-expand-mode-is-closed/10459>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [September 6, 2021, 9:33pm UTC](https://forum.wixstudio.com/t/what-event-is-triggered-when-the-pro-gallery-expand-mode-is-closed/10459 "2021-09-06T21:33:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michelehobson](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@michelehobson](https://forum.wixstudio.com/u/michelehobson)\
**Post date:** [September 6, 2021, 9:33pm UTC](https://forum.wixstudio.com/t/what-event-is-triggered-when-the-pro-gallery-expand-mode-is-closed/10459/1 "2021-09-06T21:33:13Z")

</div>

I need to execute some code when the Pro Gallery expand mode is closed and it returns to its normal state. Can this event be captured, and if so, how?

Thank you
