diff options
author | Robert Jaros <rjaros@finn.pl> | 2017-09-17 04:28:09 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2017-09-17 04:28:09 +0200 |
commit | ab12f9a29f7517e6ad5923b687f8ff476fc83a93 (patch) | |
tree | e22a30fd6d54f63f538dd81a609f794991d986ea /src/main/kotlin/pl/treksoft/kvision/dropdown | |
parent | 5d5db76ff0d9d1505c4a41cd84e871793a7a7b8d (diff) | |
download | kvision-ab12f9a29f7517e6ad5923b687f8ff476fc83a93.tar.gz kvision-ab12f9a29f7517e6ad5923b687f8ff476fc83a93.tar.bz2 kvision-ab12f9a29f7517e6ad5923b687f8ff476fc83a93.zip |
Modals
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/dropdown')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt index 7ee9a28f..e2f88e72 100644 --- a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt +++ b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt @@ -73,10 +73,10 @@ open class DropDown(text: String, elements: List<StringPair>? = null, icon: Stri refresh() } - val idc = "kv_dropdown_" + counter - val button: DropDownButton = DropDownButton(idc, text, icon, style, size, block, + private val idc = "kv_dropdown_" + counter + protected val button: DropDownButton = DropDownButton(idc, text, icon, style, size, block, disabled, image, setOf("dropdown")) - val list: DropDownListTag = DropDownListTag(idc, setOf("dropdown-menu")) + protected val list: DropDownListTag = DropDownListTag(idc, setOf("dropdown-menu")) init { button.setEventListener { |