Toggles popup between maximized and normal states.
toggle()
Description
The popup must exists. The method will maximize or minimize the popup depending on its previous state.
It will also trigger
onMin or
onMax.
The
maximized property will be updated.
To toggle popup: