Skip to main content

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

NameTypeDescription
pagePathStringPath or id of the page to open
linkArgdynamicArgument to pass to the target page (any value that can be serialized to JSON). Can be null
routeString?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");