menuItem

fun <CM : HTMLElement> RenderContext.menuItem(classes: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<CM>>, initialize: Menu.MenuItems.MenuItem<CM, CI, C>.() -> Unit)

Factory function to create a menuItem.

For more information refer to the official documentation


fun RenderContext.menuItem(classes: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: Menu.MenuItems.MenuItem<HTMLButtonElement, CI, C>.() -> Unit)

Factory function to create a menuItem with a HTMLButtonElement as default Tag.

For more information refer to the official documentation