hide
Hides the dock icon.
!IMPORTANT Known issue: Calling
dock.hide()within one second of a previous call will have no effect. As a workaround, ensure at least one second has elapsed between calls — for example, by deferring with asetTimeoutof 1100ms or more after a previous call.