aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-spinner/src/main/kotlin/pl/treksoft
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-05-11 02:29:40 +0200
committerRobert Jaros <rjaros@finn.pl>2019-05-11 02:29:40 +0200
commit825445b7041e2b07622801b0bbbf779b70f03f23 (patch)
treedb87b654f88f1b3656840c76bfc0b86e549d765f /kvision-modules/kvision-spinner/src/main/kotlin/pl/treksoft
parent857afb0fa7e8bdf435e2bb7cb5d951ba29449362 (diff)
downloadkvision-825445b7041e2b07622801b0bbbf779b70f03f23.tar.gz
kvision-825445b7041e2b07622801b0bbbf779b70f03f23.tar.bz2
kvision-825445b7041e2b07622801b0bbbf779b70f03f23.zip
Refactor focus and blur methods in FormControl interface.
Diffstat (limited to 'kvision-modules/kvision-spinner/src/main/kotlin/pl/treksoft')
-rw-r--r--kvision-modules/kvision-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/SpinnerInput.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvision-modules/kvision-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/SpinnerInput.kt b/kvision-modules/kvision-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/SpinnerInput.kt
index c60aab2f..66e98ab5 100644
--- a/kvision-modules/kvision-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/SpinnerInput.kt
+++ b/kvision-modules/kvision-spinner/src/main/kotlin/pl/treksoft/kvision/form/spinner/SpinnerInput.kt
@@ -293,14 +293,14 @@ open class SpinnerInput(
/**
* Makes the input element focused.
*/
- open fun focus() {
+ override fun focus() {
getElementJQuery()?.focus()
}
/**
* Makes the input element blur.
*/
- open fun blur() {
+ override fun blur() {
getElementJQuery()?.blur()
}