Navigate Page
Last updated
Last updated
Navigate Page
is a terminal block that is used to navigate the browser from the currently loaded page to the specified page.
The block consists of Destination URL a Value Parameter that accepts a text value specifying the page you want to navigate to.
The page can either be:
Within your app: the Destination URL would be the slug of the page preceded with a forward slash.
External to your app: the Destination URL would be an absolute URL beginning with http://
or https://
.
The example below shows the Navigate Page block being used to navigate to an external destination (the Zingy website).
The next image below shows an example of the Navigate Page block being used in combination with a If block. Based on the value of the variable b, the value of the variable str is set. The Navigate Page block is then used to navigate using the value of the variable str.