Closes an overpanel opened by showOverpanel.
closeOverpanel takes an optional resolutionData dictionary, closes an overpanel opened by showOverpanel, and passes the resolution data to the promise that showOverpanel returns.
tecton.actions.closeOverpanel(resolutionData?: Record<string, any>): void;Close without returning data.
tecton.actions.closeOverpanel();Close and return data to the opener.
tecton.actions.closeOverpanel({ selectedAccount: '12345', confirmed: true });
In this example, showOverpanel is provided arguments to modify the width and height of the overpanel. Upon calling showOverpanel, the overpanel will slide upwards into the view. Upon calling closeOverpanel, the overpanel will slide downwards and out of the view. The closeOverpanel method is provided resolution data that will be accessible from within the showOverpanel's Promise handling once the promise has been fulfilled.
Captured on UUX version 4.6.0.10A.
resolutionData