system.nav
Navigation Functionsβ
The following functions allow you to open and close windows in the client.
ποΈ centerWindow
Given a window path, or a reference to a window itself, it will center the window.
ποΈ closeParentWindow
Closes the parent window given a component event object.
ποΈ closeWindow
Given a window path, or a reference to a window itself, it will close the window.
ποΈ desktop
Allows for invoking system.nav functions on a specific desktop.
ποΈ getCurrentWindow
Returns the path of the current "main screen" window, which is defined as the maximized window.
ποΈ goBack
When using the Typical Navigation Strategy, this function will navigate back to the previous main screen window.
ποΈ goForward
When using the Typical Navigation Strategy, this function will navigate "forward" to the last main-screen window the user was on when they executed a system.nav.goBack().
ποΈ goHome
When using the Typical Navigation Strategy, this function will navigate to the "home" window.
ποΈ openWindow
Opens the window with the given path.
ποΈ openWindowInstance
Operates exactly like system.nav.openWindow, except that if the named window is already open, then an additional instance of the window will be opened.
ποΈ swapTo
Performs a window swap from the current main screen window to the window specified.
ποΈ swapWindow
Performs a window swap.