Opening a URL (bizzstream.goToURL)
You can use bizzstream.goToURL to open a url (in a new tab).
bizzStream.goToURL(url, openInNewTab);
Parameter | Type | Required | Description |
---|---|---|---|
url | String | Yes | The URL of the document or website that has to be opened. This can be either the absolute URL (for instance:http://www.maxedy.com) or a relative URL (for instance: /menu/orders/). |
openInNewTab | Boolean | Yes | This parameter determines if the URL will be opened in a new tab. |
Example
The following method opens Maxedy.com in a new tab:
bizzStream.goToURL("http://www.maxedy.com", true);
The following method opens the Order menu in a new tab:
bizzStream.goToURL("/menu/orders/", true);
The following method opens Maxedy.com in the current tab:
bizzStream.goToURL("/menu/orders/", false);