diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-02-27 15:28:16 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-02-27 15:28:16 +0100 |
commit | e4b5290e4898858612da882d9186b2aba548a9d9 (patch) | |
tree | b9bbd4dbba14953fd9fba011b2c7f1e629c307d9 /kvision-modules/kvision-bootstrap-spinner | |
parent | bff6c721074bda50e2d5a23d8aa96bf1f939f62a (diff) | |
download | kvision-e4b5290e4898858612da882d9186b2aba548a9d9.tar.gz kvision-e4b5290e4898858612da882d9186b2aba548a9d9.tar.bz2 kvision-e4b5290e4898858612da882d9186b2aba548a9d9.zip |
Remove deprecated methods.
Style fixes.
Diffstat (limited to 'kvision-modules/kvision-bootstrap-spinner')
-rw-r--r-- | kvision-modules/kvision-bootstrap-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/Spinner.kt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kvision-modules/kvision-bootstrap-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/Spinner.kt b/kvision-modules/kvision-bootstrap-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/Spinner.kt index c8b51372..a842a37f 100644 --- a/kvision-modules/kvision-bootstrap-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/Spinner.kt +++ b/kvision-modules/kvision-bootstrap-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/Spinner.kt @@ -205,15 +205,6 @@ open class Spinner( return input.setEventListener(block) } - @Deprecated( - "Use onEvent extension function instead.", - ReplaceWith("onEvent(block)", "pl.treksoft.kvision.core.onEvent") - ) - override fun setEventListener(block: SnOn<Widget>.() -> Unit): Int { - @Suppress("DEPRECATION") - return input.setEventListener(block) - } - override fun removeEventListener(id: Int): Widget { input.removeEventListener(id) return this |