replacePage

open fun replacePage(pageId: String, options: dynamic = undefined): Promise<Unit>?(source)

Replaces the current top page with the specified one.

Parameters

pageId

a given page id

options

a parameter object


open fun replacePage(page: Page, options: dynamic = undefined): Promise<Unit>?(source)

Replaces the current top page with the specified one.

Parameters

page

a given page

options

a parameter object