From 474195d3aa862686712cfe6c800dc43f8fee8ec5 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 19 Dec 2018 12:14:03 +0100 Subject: An addon remote module for select component. --- .../kotlin/pl/treksoft/kvision/remote/SpringServiceManager.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kvision-modules/kvision-server-jooby/src/main/kotlin') diff --git a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/SpringServiceManager.kt b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/SpringServiceManager.kt index 5b566423..dae150ba 100644 --- a/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/SpringServiceManager.kt +++ b/kvision-modules/kvision-server-jooby/src/main/kotlin/pl/treksoft/kvision/remote/SpringServiceManager.kt @@ -113,4 +113,14 @@ actual open class SpringServiceManager actual constructor(val serviceCl throw IllegalStateException("This class is for Spring Boot integration.") } + /** + * Binds a given function of the receiver as a select options source + * @param function a function of the receiver + */ + protected actual fun bind( + function: T.(String) -> List + ) { + throw IllegalStateException("This class is for Spring Boot integration.") + } + } -- cgit