diff options
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/table')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/table/Cell.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt | 1 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/table/Row.kt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/table/Cell.kt b/src/main/kotlin/pl/treksoft/kvision/table/Cell.kt index ea59ed81..8ea26327 100644 --- a/src/main/kotlin/pl/treksoft/kvision/table/Cell.kt +++ b/src/main/kotlin/pl/treksoft/kvision/table/Cell.kt @@ -26,6 +26,7 @@ open class Cell( ) : Tag(TAG.TD, text, rich, align, classes) { init { + @Suppress("LeakingThis") init?.invoke(this) } diff --git a/src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt b/src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt index 26ea24d2..d6ab2c18 100644 --- a/src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt +++ b/src/main/kotlin/pl/treksoft/kvision/table/HeaderCell.kt @@ -26,6 +26,7 @@ open class HeaderCell( ) : Tag(TAG.TH, text, rich, align, classes) { init { + @Suppress("LeakingThis") init?.invoke(this) } diff --git a/src/main/kotlin/pl/treksoft/kvision/table/Row.kt b/src/main/kotlin/pl/treksoft/kvision/table/Row.kt index d408f699..a2b23ff7 100644 --- a/src/main/kotlin/pl/treksoft/kvision/table/Row.kt +++ b/src/main/kotlin/pl/treksoft/kvision/table/Row.kt @@ -18,6 +18,7 @@ open class Row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null) : ) { init { + @Suppress("LeakingThis") init?.invoke(this) } |