CustomMenuEntry

open class CustomMenuEntry(styling: Style<BoxParams> = {}) : MenuChild, TooltipProperties

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

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

Functions

Link copied to clipboard
open override fun render(context: RenderContext, styles: MenuStyles)
Link copied to clipboard
open override fun tooltip(vararg text: String, build: TooltipComponent.() -> Unit)
open override fun tooltip(    styling: BasicParams.() -> Unit,     text: String?,     baseClass: StyleClass,     id: String,     prefix: String,     build: TooltipComponent.() -> Unit)

Properties

Link copied to clipboard
val content: ComponentProperty<RenderContext.() -> Unit>
Link copied to clipboard
open override val renderTooltip: ComponentProperty<Tag<HTMLElement>.() -> Unit>