openPage
Description
Pushes a new page on top of the current page and navigates to it. linkArg is passed to the target page as the argument of its onStart.
Parameters
| Name | Type | Description |
|---|---|---|
pagePath | String | Path or id of the page to open |
linkArg | dynamic | Argument to pass to the target page (any value that can be serialized to JSON). Can be null |
route | String? | Name of the transition style (for example 'cupertino', 'material', or 'zoom'). Empty or null uses the default |
Returns
void
Example
$app.openPage("30_stock/A30st010", { code: "005930" }, null);
$app.openPage("group/myForm", arg, "cupertino");