aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/dropdown
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-10-08 21:56:05 +0200
committerRobert Jaros <rjaros@finn.pl>2018-10-08 21:56:05 +0200
commiteddd58f3f31954809645bdf2222833424c3f9a73 (patch)
tree7fa78211eda8ce93b51738ba2c0774b7f05ca4c9 /src/main/kotlin/pl/treksoft/kvision/dropdown
parent0d3e7c87bf74948f83ce006a1d340b0f3f5e68b0 (diff)
downloadkvision-eddd58f3f31954809645bdf2222833424c3f9a73.tar.gz
kvision-eddd58f3f31954809645bdf2222833424c3f9a73.tar.bz2
kvision-eddd58f3f31954809645bdf2222833424c3f9a73.zip
Testing modules.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/dropdown')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
index 5f5f789c..4ae1e93b 100644
--- a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
@@ -142,6 +142,9 @@ open class DropDown(
idc, text, icon, style,
disabled, forNavbar, withCaret, setOf("dropdown")
)
+
+ fun buttonId() = button.id
+
internal val list: DropDownListTag = DropDownListTag(idc, setOf("dropdown-menu"))
init {