nav Link
@ExperimentalCoroutinesApi()
Content copied to clipboard
This component generates a navigation link inside the appFrame's sidebar.
You can set the an icon, text and activce state. For a detailed overview about the possible properties of the component object itself, have a look at NavLinkComponent
Do not use this component outside of the appFrame since it's styling and responsive behaviour are built to work with the frame.
Return
a listener that offers the clicks on this link
Parameters
baseClass
optional CSS class that should be applied to the element
build
a lambda expression for setting up the component itself. Details in NavLinkComponent
id
the ID of the element
prefix
the prefix for the generated CSS class resulting in the form `$prefix-$hash`
styling
a lambda expression for declaring the styling as fritz2's styling DSL