NavigatablePanelData

data class NavigatablePanelData(val descriptor: PanelDescriptor, val navigateToPanel: () -> Unit = {})

Describes a panel in descriptor, while navigateToPanel is the function that should be invoked when the described panel should be navigated to. Navigating to the panel can for example happen when a user presses the breadcrumb.

Parameters

descriptor

Describes the panel.

navigateToPanel

The function that should be invoked when the described panel should be navigated to.

Constructors

Link copied to clipboard
fun NavigatablePanelData(descriptor: PanelDescriptor, navigateToPanel: () -> Unit = {})

Properties

Link copied to clipboard
val descriptor: PanelDescriptor
Link copied to clipboard
val navigateToPanel: () -> Unit