Package-level declarations

Functions

Link copied to clipboard
@Composable
fun <T : Any> IComponent.tomTypeaheadRemote(serviceManager: RpcServiceMgr<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String? = null, requestFilter: suspend RequestInit.() -> Unit? = null, options: List<String>? = null, value: String? = null, type: InputType = InputType.Text, tsCallbacks: TomSelectCallbacks? = null, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITomTypeahead.() -> Unit = {})

Creates TomTypeahead component with a remote data source.

Link copied to clipboard
@Composable
fun <T : Any> IComponent.tomTypeaheadRemoteRef(serviceManager: RpcServiceMgr<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String? = null, requestFilter: suspend RequestInit.() -> Unit? = null, options: List<String>? = null, value: String? = null, type: InputType = InputType.Text, tsCallbacks: TomSelectCallbacks? = null, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable ITomTypeahead.() -> Unit = {}): TomTypeahead

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