Package io. kvision. dropdown
Bootstrap dropdown component with support for navigation bars and context menus.
Types
Context Menu
Link copied to clipboard
open class ContextMenu(element: <ERROR CLASS>?, fixedPosition: Boolean, className: String?, init: ContextMenu.() -> Unit?)
Content copied to clipboard
Context menu component.
Drop Down
Link copied to clipboard
open class DropDown(text: String, elements: List<<ERROR CLASS>>?, icon: String?, style: <ERROR CLASS>, direction: Direction, disabled: Boolean, forNavbar: Boolean, forDropDown: Boolean, dark: Boolean, className: String?, init: DropDown.() -> Unit?)
Content copied to clipboard
Bootstrap dropdown component.
Drop Down Button
Link copied to clipboard
Functions
cm Link
Link copied to clipboard
cm Link Disabled
Link copied to clipboard
fun ContextMenu.cmLinkDisabled(label: String, icon: String? = null, image: <ERROR CLASS>? = null, className: String? = null, init: <ERROR CLASS>.() -> Unit? = null): <ERROR CLASS>
Content copied to clipboard
DSL builder extension function for a disabled link in a context menu list.
context Menu
Link copied to clipboard
fun <ERROR CLASS>.contextMenu(fixedPosition: Boolean = false, className: String? = null, init: ContextMenu.() -> Unit? = null): ContextMenu
Content copied to clipboard
DSL builder extension function.
dd Link
Link copied to clipboard
dd Link Disabled
Link copied to clipboard
drop Down
Link copied to clipboard
fun <ERROR CLASS>.dropDown(text: String, elements: List<<ERROR CLASS>>? = null, icon: String? = null, style: <ERROR CLASS> = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, dark: Boolean = false, className: String? = null, init: DropDown.() -> Unit? = null): DropDown
Content copied to clipboard
DSL builder extension function.
set Context Menu
Link copied to clipboard
fun <ERROR CLASS>.setContextMenu(contextMenu: ContextMenu): <ERROR CLASS>
Content copied to clipboard
Sets context menu for the current widget.