DropDownButton

open class DropDownButton(id: String, text: String, icon: String? = null, style: <Error class: unknown class> = ButtonStyle.PRIMARY, disabled: Boolean = false, val forNavbar: Boolean = false, val forDropDown: Boolean = false, autoClose: AutoClose = AutoClose.TRUE, arrowVisible: Boolean = false, className: String? = null)

A drop down button component.

Parameters

id

the id of the element

text

the dropdown button text

icon

the icon of the dropdown button

style

the style of the dropdown button

disabled

determines if the component is disabled on start

forNavbar

determines if the component will be used in a navbar

forDropDown

determines if the component will be used in a dropdown

autoClose

the auto closing mode of the dropdown menu

className

CSS class names

Constructors

Link copied to clipboard
constructor(id: String, text: String, icon: String? = null, style: <Error class: unknown class> = ButtonStyle.PRIMARY, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, autoClose: AutoClose = AutoClose.TRUE, arrowVisible: Boolean = false, className: String? = null)

Properties

Link copied to clipboard
var arrowVisible: <Error class: unknown class>

Show button arrow.

Link copied to clipboard
var autoClose: <Error class: unknown class>

Whether to automatically close dropdown menu.

Link copied to clipboard
val forDropDown: Boolean = false
Link copied to clipboard
val forNavbar: Boolean = false

Functions

Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun buildClassSet(classSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun render(): <Error class: unknown class>