From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html') diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html b/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html index 67e3cdef..b888b053 100644 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html +++ b/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.dropdown / DropDown / <init>

<init>

- -DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: 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, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf())

Parameters

text - the label of the dropdown button

@@ -19,12 +19,14 @@ icon - 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