openlink
Last updated
Last updated
Opens a link in a new tab in a mobile web browser.
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
Description | Output Type |
---|---|
Key | Description | Output Type |
---|---|---|
In this example, we will use the App.reload
function to open the link for the eMOBIQ dashboard in another tab.
Drag a button component to the canvas and click on the 'Action' tab.
Drag the App.openlink
function to the event flow under the 'press' event.
Under the inspector of the component, enter the link you want to open. In this example, we are using https://main.emobiq.com/
, the link to the eMOBIQ dashboard.
Save and preview the app.
Click the button to open the dashboard in another tab.
link
The link to be opened.
String/Text
-
-
Yes
Returns the formatted information.
Object
success
Boolean value to denote whether the function was executed successfully.
Text
message
The message to print.
Text
data
Any additional message or data to print.
Text