navigateTo

fun navigateTo(destination: ThreePaneDestination<*>, replace: Boolean = false, popUpTo: ThreePaneRole? = null)

Navigates to the provided destination.

Parameters

destination

The destination to navigate to.

replace

Whether to replace an existing destination with a new one of the same pane (if it exists), or add it to the stack.

popUpTo

The role of the pane to pop up to before navigating to the destination.