The first argument type is the name of the panel. It can be one of the following:
top
left
main
right
preview
bottom
The panel is hidden with animation that takes approximately 2 seconds. If you want to hide the panel without animation set the second
argument immediate to true.
If you have a layout defined as:
You can hide with animation
Or without animation