Package-level declarations

Types

Link copied to clipboard

Tom Select component with a remote data source.

Link copied to clipboard
open class TomSelectRemote<out T : Any>(serviceManager: RpcServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, requestFilter: suspend RequestInit.() -> Unit? = null, openOnFocus: Boolean = false, options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, renderConfig: RenderConfig = RenderConfig.Default) : TomSelect, ITomSelectRemote

Tom Select component with a remote data source.

Functions

Link copied to clipboard
@Composable
fun <T : Any> IComponent.tomSelectRemote(serviceManager: RpcServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, requestFilter: suspend RequestInit.() -> Unit? = null, openOnFocus: Boolean = false, preload: Boolean = false, options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITomSelectRemote.() -> Unit = {})

Creates TomSelectRemote component with a remote data source.

Link copied to clipboard
@Composable
fun <T : Any> IComponent.tomSelectRemoteRef(serviceManager: RpcServiceMgr<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: () -> String? = null, requestFilter: suspend RequestInit.() -> Unit? = null, openOnFocus: Boolean = false, preload: Boolean = false, options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITomSelectRemote.() -> Unit = {}): TomSelectRemote<T>

Creates TomSelectRemote component with a remote data source, returning a reference.