insertPage

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

Insert the specified page into the stack with at a position defined by the index argument.

Parameters

index

an insertion index

pageId

a given page id

options

a parameter object


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

Insert the specified page into the stack with at a position defined by the index argument.

Parameters

index

an insertion index

page

a given page

options

a parameter object