customMenuItem
inline fun MenuItemContainer.customMenuItem(content: Node? = null, hideOnClick: Boolean = true): CustomMenuItem
Add a CustomMenuItem to this container.
Return
the control added.
inline fun customMenuItem(content: Node? = null, hideOnClick: Boolean = true, configuration: CustomMenuItem.() -> Unit): CustomMenuItem
Create a CustomMenuItem with configuration block.
Return
the control created.
Parameters
configuration
the configuration block.
inline fun MenuItemContainer.customMenuItem(content: Node? = null, hideOnClick: Boolean = true, configuration: CustomMenuItem.() -> Unit): CustomMenuItem
Add a CustomMenuItem with configuration block to this container.
Return
the control added.
Parameters
configuration
the configuration block.