class Goto
extends Instruction

Goto instructions are used in Qworum scripts for starting a new phase in the current Qworum method call.

Examples

Example 1

const
goto1 = Goto.build('home/'), // resolve the URL with the URL of the web page that issued the Qworum.eval() command as the base URL.
goto2 = Goto.build(); // go to the URL of the web page that issued the Qworum.eval() command.

Static Methods

build(href)

Builder for Goto instructions.

Properties

readonly
href

Methods

Serialises the object to string for informational purposes.

See