connectGetNextPage

fun connectGetNextPage(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> NavigationPage?): <Error class: unknown class>

Emitted when a push shortcut or a gesture is triggered.

To support the push shortcuts and gestures, the application is expected to return the page to push in the handler.

This signal can be emitted multiple times for the gestures, for example when the gesture is cancelled by the user. As such, the application must not make any irreversible changes in the handler, such as removing the page from a forward stack.

Instead, it should be done in the signal@NavigationView::pushed handler.

Since

1.4

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Returns the page to push