Closes the currently open side panel. The call is global, so it closes whichever side panel is open, no matter which component opened it.
Call this method from the side panel's component code, such as from a close button or after the panel finishes its task.
Notes:
sidePanel.open().This method takes no parameters.
void
Close the side panel:
Note: To call this method in self-managed apps, you need to create a client. See the setup guide for more details.