resetToPage

open fun resetToPage(pageId: String, options: dynamic = undefined): <Error class: unknown class><Unit>?

Clears page stack and adds the specified page to the stack.

Parameters

pageId

a given page id

options

a parameter object


open fun resetToPage(page: Page, options: dynamic = undefined): <Error class: unknown class><Unit>?

Clears page stack and adds the specified page to the stack.

Parameters

page

a given page

options

a parameter object