aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/tabs')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/tabs/Tabs.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/tabs/Tabs.kt b/src/main/kotlin/pl/treksoft/kvision/tabs/Tabs.kt
index 4bc4d4b6..b21b1713 100644
--- a/src/main/kotlin/pl/treksoft/kvision/tabs/Tabs.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/tabs/Tabs.kt
@@ -9,9 +9,9 @@ import pl.treksoft.kvision.html.Tag
import pl.treksoft.kvision.panel.StackPanel
open class Tabs : Container(setOf()) {
- internal var nav = Tag(TAG.UL, classes = setOf("nav", "nav-tabs"))
- internal var content = StackPanel(false)
- var activeIndex
+ private var nav = Tag(TAG.UL, classes = setOf("nav", "nav-tabs"))
+ private var content = StackPanel(false)
+ private var activeIndex
get() = content.activeIndex
set(value) {
content.activeIndex = value