CustomMenuEntry

open class CustomMenuEntry(styling: Style<BoxParams>) : MenuChild

This class combines the configuration and the core rendering of a CustomMenuEntry.

A custom menu entry can be any fritz2 component. The component simply wraps any layout in a container and renders it to the menu.

Constructors

CustomMenuEntry
Link copied to clipboard
js
fun CustomMenuEntry(styling: Style<BoxParams> = {})

Functions

render
Link copied to clipboard
js
open override fun render(context: RenderContext)

Properties

content
Link copied to clipboard
js
val content: ComponentProperty<RenderContext.() -> Unit>