Class: Controller

Controller()

Allows a secondary non-visual page that can build functions and UI on top of any loaded page

Constructor

new Controller()

Source:

Methods

(static) this.goBack()

Navigates backward if possible
Source:

(static) this.goForward()

Navigates forward if possible
Source:

(static) this.goHome()

Navigates to the home page
Source:

(static) this.loadPage(url)

Loads a webpage
Parameters:
Name Type Description
url string URL of the webpage to load
Source:

(static) this.runJavascript(script)

Runs a JS script
Parameters:
Name Type Description
script string The script to run
Source: