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.