separator

fun ContextMenu.separator(className: String? = null): Separator(source)
fun DropDown.separator(className: String? = null): Separator(source)

DSL builder extension function.

It takes the same parameters as the constructor of the built component.