Package io. kvision. dropdown
Bootstrap dropdown component with support for navigation bars and context menus.
Types
Link copied to clipboard
open class ContextMenu( element: <ERROR CLASS>? = null, fixedPosition: Boolean = false, className: String? = null, init: ContextMenu.() -> Unit? = null)
Content copied to clipboard
Context menu component.
Link copied to clipboard
open class DropDown( text: String, elements: List<<ERROR CLASS>>? = null, icon: String? = null, style: <ERROR CLASS> = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, val forNavbar: Boolean = false, val forDropDown: Boolean = false, dark: Boolean = false, className: String? = null, init: DropDown.() -> Unit? = null)
Content copied to clipboard
Bootstrap dropdown component.
Link copied to clipboard
class DropDownButton( id: String, text: String, icon: String? = null, style: <ERROR CLASS> = ButtonStyle.PRIMARY, disabled: Boolean = false, val forNavbar: Boolean = false, val forDropDown: Boolean = false, autoClose: AutoClose = AutoClose.TRUE, className: String? = null)
Content copied to clipboard
A drop down button component.
Functions
Link copied to clipboard
fun ContextMenu.cmLink( label: String, url: String? = null, icon: String? = null, image: <ERROR CLASS>? = null, dataNavigo: Boolean? = null, className: String? = null, init: <ERROR CLASS>.() -> Unit? = null): <ERROR CLASS>
Content copied to clipboard
DSL builder extension function for a link in a context menu list.
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.
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.
Link copied to clipboard
fun DropDown.ddLink( label: String, url: String? = null, icon: String? = null, image: <ERROR CLASS>? = null, dataNavigo: Boolean? = null, className: String? = null, init: <ERROR CLASS>.() -> Unit? = null): <ERROR CLASS>
Content copied to clipboard
DSL builder extension function for a link in a dropdown list.
Link copied to clipboard
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.
Link copied to clipboard
fun <ERROR CLASS>.setContextMenu(contextMenu: ContextMenu): <ERROR CLASS>
Content copied to clipboard
Sets context menu for the current widget.