aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-11-04 12:55:13 +0100
committerRobert Jaros <rjaros@finn.pl>2017-11-04 12:55:13 +0100
commitd7b5638e6dee2081574d6229a6c629a7d50b4bd5 (patch)
tree6d7e0e64af59a897e2e299d0935aac11ce93315b /src/main/kotlin/pl/treksoft/kvision/Showcase.kt
parent1a41c5d06bb51907b752afa9c13c08dd1e82455a (diff)
downloadkvision-d7b5638e6dee2081574d6229a6c629a7d50b4bd5.tar.gz
kvision-d7b5638e6dee2081574d6229a6c629a7d50b4bd5.tar.bz2
kvision-d7b5638e6dee2081574d6229a6c629a7d50b4bd5.zip
showOptions, hideOptions and toggleOptions methods for Select and SelectInput
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/Showcase.kt')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/Showcase.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
index 41ceacd9..7ff2f1fe 100644
--- a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
@@ -103,6 +103,7 @@ class Showcase : ApplicationBase() {
val mbuttons3 = Button("Select").setEventListener<Button> {
click = {
println(select3.value)
+ select3.toggleOptions()
}
}
root.add(mbuttons3)