add

fun add(page: NavigationPage)

Permanently adds @page to @self.

Any page that has been added will stay in @self even after being popped from the navigation stack.

Adding a page while no page is visible will automatically push it to the navigation stack.

See method@NavigationView.remove.

Since

1.4

Parameters

page

the page to add