aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/dropdown
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-09-17 22:53:18 +0200
committerRobert Jaros <rjaros@finn.pl>2017-09-17 22:53:18 +0200
commit9a8a42e60947083352eed78a8fea5f92ea5a9a4e (patch)
tree811d3b026e10285fd09d62341eaa0ead628fbc9f /src/main/kotlin/pl/treksoft/kvision/dropdown
parentab12f9a29f7517e6ad5923b687f8ff476fc83a93 (diff)
downloadkvision-9a8a42e60947083352eed78a8fea5f92ea5a9a4e.tar.gz
kvision-9a8a42e60947083352eed78a8fea5f92ea5a9a4e.tar.bz2
kvision-9a8a42e60947083352eed78a8fea5f92ea5a9a4e.zip
Modals unit tests
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/dropdown')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
index e2f88e72..708752ea 100644
--- a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
@@ -74,9 +74,9 @@ open class DropDown(text: String, elements: List<StringPair>? = null, icon: Stri
}
private val idc = "kv_dropdown_" + counter
- protected val button: DropDownButton = DropDownButton(idc, text, icon, style, size, block,
+ internal val button: DropDownButton = DropDownButton(idc, text, icon, style, size, block,
disabled, image, setOf("dropdown"))
- protected val list: DropDownListTag = DropDownListTag(idc, setOf("dropdown-menu"))
+ internal val list: DropDownListTag = DropDownListTag(idc, setOf("dropdown-menu"))
init {
button.setEventListener {