From bfd5aa358e141d6c86d476d8bb66b104a80a3b96 Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-(js)
-Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf())
+(js)
+Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, separator: String? = null, labelFirst: Boolean = true, classes: Set<String> = setOf())
Parameters
@@ -19,6 +19,10 @@
style - button style
+separator - a separator between label and icon/image (defaults to space)
+labelFirst - determines if the label is put before children elements (defaults to true)
classes - a set of CSS class names
Constructor
--
cgit