From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, : Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf())
+
+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> = setOf())
Parameters
text - the label of the dropdown buttonicon - the icon of the dropdown button
style - the style of the dropdown button
+direction - the direction of the dropdown
disabled - determines if the component is disabled on start
forNavbar - determines if the component will be used in a navbar
-withCaret - determines if the dropdown button renders caret
+forDropDown - determines if the component will be used in a dropdown
classes - a set of CSS class names
Constructor
--
cgit