Bootstrap dropdown component with support for navigation bars and context menus.
(js)
ContextMenu |
Context menu component. open class ContextMenu : Div |
(js)
DD |
Useful options for use in DropDown's elements parameter. enum class DD |
(js)
Direction |
Dropdown directions. enum class Direction |
(js)
DropDown |
Bootstrap dropdown component. open class DropDown : SimplePanel |
(js)
DropDownButton |
A drop down button component. class DropDownButton : Button |
(js)
Header |
Menu header component. open class Header : Tag |
(js)
Separator |
Menu separator component. open class Separator : Div |
(js)
cmLink |
DSL builder extension function for a link in a context menu list. fun ContextMenu.cmLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link |
(js)
cmLinkDisabled |
DSL builder extension function for a disabled link in a context menu list. fun ContextMenu.cmLinkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link |
(js)
contextMenu |
DSL builder extension function. fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ContextMenu.() -> Unit)? = null): ContextMenu |
(js)
ddLink |
DSL builder extension function for a link in a dropdown list. fun DropDown.ddLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link |
(js)
ddLinkDisabled |
DSL builder extension function for a disabled link in a dropdown list. fun DropDown.ddLinkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link |
(js)
dropDown |
DSL builder extension function. fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, : Boolean = false, forDropDown: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (DropDown.() -> Unit)? = null): DropDown |
(js)
header |
DSL builder extension function. fun ContextMenu.header(content: String? = null, classes: Set<String>? = null, className: String? = null): Header fun DropDown.header(content: String? = null, classes: Set<String>? = null, className: String? = null): Header |
(js)
separator |
DSL builder extension function. fun ContextMenu.separator(classes: Set<String>? = null, className: String? = null): Separator fun DropDown.separator(classes: Set<String>? = null, className: String? = null): Separator |
(js)
setContextMenu |
Sets context menu for the current widget. fun Widget.setContextMenu(contextMenu: ContextMenu): Widget |