Hides the panel.
hide(type, [immediate])
type string, name of the panel
immediate boolean, without animation (optional)

Description

The first argument type is the name of the panel. It can be one of the following: 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