DropDownButton

constructor(id: String, text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, autoClose: AutoClose = AutoClose.TRUE, arrowVisible: Boolean = false, className: String? = null)(source)

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