メインコンテンツまでスキップ

openPage

Description​

現在のページの上に新しいページをプッシュして遷移します。linkArgは遷移先ページのonStartの引数として渡されます。

Parameters​

名前型説明
pagePathString開くページのパス/id
linkArgdynamic遷移先ページに渡す引数(JSONにシリアライズできる値)。nullも指定できます
routeString?遷移スタイルの名前(例:'cupertino'、'material'、'zoom')。空またはnullの場合はデフォルト値を使用します

Returns​

void

Example​

$app.openPage("30_stock/A30st010", { code: "005930" }, null);
$app.openPage("group/myForm", arg, "cupertino");