NavigationNode
Wrapper of FonamentContent.invoke that receives a FonamentNavigationEventHandler and the uiState and contentState. You can use this function to create a navigation entry node in your navigation graph.
Parameters
The handler for navigation events of type N. Defaults to a no-op handler.
The UI state of type U.
The content state of type C.
Type Parameters
The type of navigation event to handle, must implement FonamentNavigationEvent.
The type of UI state, must implement FonamentUIState.
The type of content state, must implement FonamentContentState.
Wrapper of FonamentStatelessContent.invoke that receives a FonamentNavigationEventHandler. You can use this function to create a navigation entry node in your navigation graph.
Parameters
The handler for navigation events of type N. Defaults to a no-op handler.
Type Parameters
The type of navigation event to handle, must implement FonamentNavigationEvent.
Wrapper of FonamentUI.invoke that receives a FonamentNavigationEventHandler and a viewModel. You can use this function to create a navigation entry node in your navigation graph.
Parameters
The handler for navigation events of type N. Defaults to a no-op handler.
The FonamentViewModel providing the UI state of type U.
Type Parameters
The type of navigation event to handle, must implement FonamentNavigationEvent.
The type of UI state, must implement FonamentUIState.