Resize UI Page onclick of a button (UI Action)DescriptionHow to resize a custom UI page(to fit the browser window size) that expands with more content on-click of a button(UI action) on the UI page.ResolutionIn the function that will be called when the button(UI action) is clicked, add the following trigger. window.dispatchEvent(new Event('resize'));