typeahead

fun Container.typeahead(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, source: (String, (Array<String>) -> Unit) -> Unit? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Typeahead.() -> Unit? = null): Typeahead

DSL builder extension function.

It takes the same parameters as the constructor of the built component.

fun <S> Container.typeahead(state: ObservableState<S>, options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, source: (String, (Array<String>) -> Unit) -> Unit? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Typeahead.(S) -> Unit): Typeahead

DSL builder extension function for observable state.

It takes the same parameters as the constructor of the built component.