TomTypeahead

open class TomTypeahead(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, renderConfig: RenderConfig = RenderConfig.Default) : Text, ITomTypeahead

Tom Typeahead input component.

Constructors

Link copied to clipboard
constructor(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, renderConfig: RenderConfig = RenderConfig.Default)

Properties

Link copied to clipboard
open override var accesskey: Char?
Link copied to clipboard
open override var alignContent: AlignContent?
Link copied to clipboard
open override var alignItems: AlignItems?
Link copied to clipboard
open override var alignSelf: AlignItems?
Link copied to clipboard
open override var ariaDescribedby: String?
Link copied to clipboard
open override var ariaLabel: String?
Link copied to clipboard
open override var ariaLabelledby: String?
Link copied to clipboard
open override var autocomplete: Autocomplete?
Link copied to clipboard
open override var autofocus: Boolean?
Link copied to clipboard
open override var background: Background?
Link copied to clipboard
open override var border: Border?
Link copied to clipboard
open override var borderBottom: Border?
Link copied to clipboard
open override var borderLeft: Border?
Link copied to clipboard
open override var borderRadius: CssSize?
Link copied to clipboard
open override var borderRadiusList: List<CssSize>?
Link copied to clipboard
open override var borderRight: Border?
Link copied to clipboard
open override var borderTop: Border?
Link copied to clipboard
open override var bottom: CssSize?
Link copied to clipboard
open override var boxShadow: BoxShadow?
Link copied to clipboard
open override var boxShadowList: List<BoxShadow>?
Link copied to clipboard
open override val children: MutableList<ComponentBase>
Link copied to clipboard
open override var className: String?
Link copied to clipboard
open override var clear: Clear?
Link copied to clipboard
open override var color: Color?
Link copied to clipboard
open override var columnGap: CssSize?
Link copied to clipboard
open override val componentId: Int
Link copied to clipboard
open override var cursor: Cursor?
Link copied to clipboard
open override var customValidity: String?
Link copied to clipboard
open override var defaultValue: String?
Link copied to clipboard
open override var direction: Direction?
Link copied to clipboard
open override var disabled: Boolean?
Link copied to clipboard
open override var display: Display?
Link copied to clipboard
open override var draggable: Boolean?
Link copied to clipboard
open override val element: HTMLInputElement
Link copied to clipboard
open override var flexBasis: CssSize?
Link copied to clipboard
open override var flexDirection: FlexDirection?
Link copied to clipboard
open override var flexGrow: Int?
Link copied to clipboard
open override var flexShrink: Int?
Link copied to clipboard
open override var flexWrap: FlexWrap?
Link copied to clipboard
open override var float: CssFloat?
Link copied to clipboard
open override var fontFamily: String?
Link copied to clipboard
open override var fontSize: CssSize?
Link copied to clipboard
open override var fontStyle: FontStyle?
Link copied to clipboard
open override var fontVariant: FontVariant?
Link copied to clipboard
open override var fontWeight: FontWeight?
Link copied to clipboard
open override var gridArea: String?
Link copied to clipboard
open override var gridAutoColumns: String?
Link copied to clipboard
open override var gridAutoFlow: GridAutoFlow?
Link copied to clipboard
open override var gridAutoRows: String?
Link copied to clipboard
open override var gridColumnEnd: String?
Link copied to clipboard
open override var gridColumnStart: Int?
Link copied to clipboard
open override var gridRowEnd: String?
Link copied to clipboard
open override var gridRowStart: Int?
Link copied to clipboard
open override var gridTemplateAreas: List<String>?
Link copied to clipboard
open override var gridTemplateColumns: String?
Link copied to clipboard
open override var gridTemplateRows: String?
Link copied to clipboard
open override var height: CssSize?
Link copied to clipboard
open override var id: String?
Link copied to clipboard
open val innerHTML: String
Link copied to clipboard
open override var justifyContent: JustifyContent?
Link copied to clipboard
open override var justifyItems: JustifyItems?
Link copied to clipboard
open override var justifySelf: JustifyItems?
Link copied to clipboard
open override var left: CssSize?
Link copied to clipboard
open override var letterSpacing: CssSize?
Link copied to clipboard
open override var lineBreak: LineBreak?
Link copied to clipboard
open override var lineHeight: CssSize?
Link copied to clipboard
open override var list: String?
Link copied to clipboard
open override var listStyle: ListStyle?
Link copied to clipboard
open override var margin: CssSize?
Link copied to clipboard
open override var marginBottom: CssSize?
Link copied to clipboard
open override var marginLeft: CssSize?
Link copied to clipboard
open override var marginRight: CssSize?
Link copied to clipboard
open override var marginTop: CssSize?
Link copied to clipboard
open override var maskOptions: MaskOptions?
Link copied to clipboard
open override var maxHeight: CssSize?
Link copied to clipboard
open override var maxlength: Int?
Link copied to clipboard
open override var maxWidth: CssSize?
Link copied to clipboard
open override var minHeight: CssSize?
Link copied to clipboard
open override var minWidth: CssSize?
Link copied to clipboard
open override val mutableStateFlow: MutableStateFlow<String?>
Link copied to clipboard
open override var name: String?
Link copied to clipboard
val node: Node
Link copied to clipboard
open override var opacity: Double?
Link copied to clipboard
open override var options: List<String>?

The list of options.

Link copied to clipboard
open override var order: Int?
Link copied to clipboard
open override var outline: Outline?
Link copied to clipboard
open override var overflow: Overflow?
Link copied to clipboard
open override var overflowWrap: OverflowWrap?
Link copied to clipboard
open override var overflowX: Overflow?
Link copied to clipboard
open override var overflowY: Overflow?
Link copied to clipboard
open override var padding: CssSize?
Link copied to clipboard
open override var paddingBottom: CssSize?
Link copied to clipboard
open override var paddingLeft: CssSize?
Link copied to clipboard
open override var paddingRight: CssSize?
Link copied to clipboard
open override var paddingTop: CssSize?
Link copied to clipboard
open override var parent: Component?
Link copied to clipboard
open override var placeholder: String?
Link copied to clipboard
open override var position: Position?
Link copied to clipboard
open override var readonly: Boolean?
Link copied to clipboard
open override val renderConfig: RenderConfig
Link copied to clipboard
open override var required: Boolean?
Link copied to clipboard
open override var resize: Resize?
Link copied to clipboard
open override var right: CssSize?
Link copied to clipboard
open override var role: String?
Link copied to clipboard
open override var rowGap: CssSize?
Link copied to clipboard
open override val stateFlow: StateFlow<String?>
Link copied to clipboard
open override var tabindex: Int?
Link copied to clipboard
open override var textAlign: TextAlign?
Link copied to clipboard
open var textContent: String?
Link copied to clipboard
open override var textDecoration: TextDecoration?
Link copied to clipboard
open override var textIndent: CssSize?
Link copied to clipboard
open override var textOverflow: TextOverflow?
Link copied to clipboard
open override var textShadow: TextShadow?
Link copied to clipboard
open override var textTransform: TextTransform?
Link copied to clipboard
open override var title: String?
Link copied to clipboard
open override var tomSelectInstance: TomSelectJs?

Tom Select native component instance.

Link copied to clipboard
open override var top: CssSize?
Link copied to clipboard
open override var transition: Transition?
Link copied to clipboard
open override var transitionList: List<Transition>?
Link copied to clipboard
open override var tsCallbacks: TomSelectCallbacks?

Tom Select callbacks.

Link copied to clipboard
open override var type: InputType
Link copied to clipboard
open override var unicodeBidi: UnicodeBidi?
Link copied to clipboard
open override var value: String?
Link copied to clipboard
open override var verticalAlign: VerticalAlign?
Link copied to clipboard
open override var visible: Boolean
Link copied to clipboard
open override var whiteSpace: WhiteSpace?
Link copied to clipboard
open override var width: CssSize?
Link copied to clipboard
open override var wordBreak: WordBreak?
Link copied to clipboard
open override var wordSpacing: CssSize?
Link copied to clipboard
open override var zIndex: Int?

Functions

Link copied to clipboard
open override fun accesskey(accesskey: Char?)
Link copied to clipboard
open override fun alignContent(alignContent: AlignContent?)
Link copied to clipboard
open override fun alignItems(alignItems: AlignItems?)
Link copied to clipboard
open override fun alignSelf(alignSelf: AlignItems?)
Link copied to clipboard
open override fun ariaDescribedby(ariaDescribedby: String?)
Link copied to clipboard
open override fun ariaLabel(ariaLabel: String?)
Link copied to clipboard
open override fun ariaLabelledby(ariaLabelledby: String?)
Link copied to clipboard
open override fun attribute(name: String, value: String?)
Link copied to clipboard
open override fun autocomplete(autocomplete: Autocomplete?)
Link copied to clipboard
open override fun autofocus(autofocus: Boolean?)
Link copied to clipboard
open override fun background(background: Background?)
Link copied to clipboard
open override fun blur()
Link copied to clipboard
open override fun border(border: Border?)
Link copied to clipboard
open override fun borderBottom(borderBottom: Border?)
Link copied to clipboard
open override fun borderLeft(borderLeft: Border?)
Link copied to clipboard
open override fun borderRadius(borderRadius: CssSize?)
Link copied to clipboard
open override fun borderRadiusList(borderRadiusList: List<CssSize>?)
Link copied to clipboard
open override fun borderRight(borderRight: Border?)
Link copied to clipboard
open override fun borderTop(borderTop: Border?)
Link copied to clipboard
open override fun bottom(bottom: CssSize?)
Link copied to clipboard
open override fun boxShadow(boxShadow: BoxShadow?)
Link copied to clipboard
open override fun boxShadowList(boxShadowList: List<BoxShadow>?)
Link copied to clipboard
open override fun className(className: String?)
Link copied to clipboard
open override fun clear(clear: Clear?)
Link copied to clipboard
open override fun clearDragDropData()
Link copied to clipboard
open override fun clearDropTarget()
Link copied to clipboard
open override fun color(color: Color?)
Link copied to clipboard
open override fun columnGap(columnGap: CssSize?)
Link copied to clipboard
open override fun cursor(cursor: Cursor?)
Link copied to clipboard
open override fun defaultValue(defaultValue: String?)
Link copied to clipboard
open override fun direction(direction: Direction?)
Link copied to clipboard
open override fun disabled(disabled: Boolean?)
Link copied to clipboard
open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean
Link copied to clipboard
open override fun display(display: Display?)
Link copied to clipboard
open override fun draggable(draggable: Boolean?)
Link copied to clipboard
open override fun flexBasis(flexBasis: CssSize?)
Link copied to clipboard
open override fun flexDirection(flexDirection: FlexDirection?)
Link copied to clipboard
open override fun flexGrow(flexGrow: Int?)
Link copied to clipboard
open override fun flexShrink(flexShrink: Int?)
Link copied to clipboard
open override fun flexWrap(flexWrap: FlexWrap?)
Link copied to clipboard
open override fun float(float: CssFloat?)
Link copied to clipboard
open override fun focus()
Link copied to clipboard
open override fun fontFamily(fontFamily: String?)
Link copied to clipboard
open override fun fontSize(fontSize: CssSize?)
Link copied to clipboard
open override fun fontStyle(fontStyle: FontStyle?)
Link copied to clipboard
open override fun fontVariant(fontVariant: FontVariant?)
Link copied to clipboard
open override fun fontWeight(fontWeight: FontWeight?)
Link copied to clipboard
open override fun getAttribute(name: String): String?
Link copied to clipboard
open override fun getStyle(name: String): String?
Link copied to clipboard
open fun getValue(): Any?
Link copied to clipboard
open override fun getValueAsString(): String?
Link copied to clipboard
open override fun gridArea(gridArea: String?)
Link copied to clipboard
open override fun gridAutoColumns(gridAutoColumns: String?)
Link copied to clipboard
open override fun gridAutoFlow(gridAutoFlow: GridAutoFlow?)
Link copied to clipboard
open override fun gridAutoRows(gridAutoRows: String?)
Link copied to clipboard
open override fun gridColumnEnd(gridColumnEnd: String?)
Link copied to clipboard
open override fun gridColumnStart(gridColumnStart: Int?)
Link copied to clipboard
open override fun gridRowEnd(gridRowEnd: String?)
Link copied to clipboard
open override fun gridRowStart(gridRowStart: Int?)
Link copied to clipboard
open override fun gridTemplateAreas(gridTemplateAreas: List<String>?)
Link copied to clipboard
open override fun gridTemplateColumns(gridTemplateColumns: String?)
Link copied to clipboard
open override fun gridTemplateRows(gridTemplateRows: String?)
Link copied to clipboard
open override fun height(height: CssSize?)
Link copied to clipboard
open fun hide()
Link copied to clipboard
open override fun id(id: String?)
Link copied to clipboard
open override fun installMask()
Link copied to clipboard
open override fun justifyContent(justifyContent: JustifyContent?)
Link copied to clipboard
open override fun justifyItems(justifyItems: JustifyItems?)
Link copied to clipboard
open override fun justifySelf(justifySelf: JustifyItems?)
Link copied to clipboard
open override fun left(left: CssSize?)
Link copied to clipboard
open override fun letterSpacing(letterSpacing: CssSize?)
Link copied to clipboard
open override fun lineBreak(lineBreak: LineBreak?)
Link copied to clipboard
open override fun lineHeight(lineHeight: CssSize?)
Link copied to clipboard
open override fun list(list: String?)
Link copied to clipboard
open override fun listStyle(listStyle: ListStyle?)
Link copied to clipboard
open override fun margin(margin: CssSize?)
Link copied to clipboard
open override fun marginBottom(marginBottom: CssSize?)
Link copied to clipboard
open override fun marginLeft(marginLeft: CssSize?)
Link copied to clipboard
open override fun marginRight(marginRight: CssSize?)
Link copied to clipboard
open override fun marginTop(marginTop: CssSize?)
Link copied to clipboard
open override fun maxHeight(maxHeight: CssSize?)
Link copied to clipboard
open override fun maxlength(maxlength: Int?)
Link copied to clipboard
open override fun maxWidth(maxWidth: CssSize?)
Link copied to clipboard
open override fun minHeight(minHeight: CssSize?)
Link copied to clipboard
open override fun minWidth(minWidth: CssSize?)
Link copied to clipboard
open override fun name(name: String?)
Link copied to clipboard
open override fun onBlur(listener: (FocusEvent) -> Unit): Int
Link copied to clipboard
open override fun onBlurDirect(listener: (FocusEvent) -> Unit): Int
Link copied to clipboard
open override fun onChange(listener: (Event) -> Unit): Int
Link copied to clipboard
open override fun onChangeDirect(listener: (Event) -> Unit): Int
Link copied to clipboard
open override fun onClick(listener: (MouseEvent) -> Unit): Int
Link copied to clipboard
open override fun onClickDirect(listener: (MouseEvent) -> Unit): Int
Link copied to clipboard
open override fun onContextmenu(listener: (MouseEvent) -> Unit): Int
Link copied to clipboard
open override fun onContextmenuDirect(listener: (MouseEvent) -> Unit): Int
Link copied to clipboard
open override fun onDblclick(listener: (MouseEvent) -> Unit): Int
Link copied to clipboard
open override fun onDblclickDirect(listener: (MouseEvent) -> Unit): Int
Link copied to clipboard
open override fun <EV : Event> onEvent(name: String, listener: (EV) -> Unit): Int
Link copied to clipboard
open override fun <EV : Event> onEventDirect(name: String, listener: (EV) -> Unit): Int
Link copied to clipboard
open override fun onFocus(listener: (FocusEvent) -> Unit): Int
Link copied to clipboard
open override fun onFocusDirect(listener: (FocusEvent) -> Unit): Int
Link copied to clipboard
open override fun onInput(listener: (InputEvent) -> Unit): Int
Link copied to clipboard
open override fun onInputDirect(listener: (InputEvent) -> Unit): Int
Link copied to clipboard
open override fun onInsert()
Link copied to clipboard
open override fun onKeydown(listener: (KeyboardEvent) -> Unit): Int
Link copied to clipboard
open override fun onKeydownDirect(listener: (KeyboardEvent) -> Unit): Int
Link copied to clipboard
open override fun onKeypress(listener: (KeyboardEvent) -> Unit): Int
Link copied to clipboard
open override fun onKeypressDirect(listener: (KeyboardEvent) -> Unit): Int
Link copied to clipboard
open override fun onKeyup(listener: (KeyboardEvent) -> Unit): Int
Link copied to clipboard
open override fun onKeyupDirect(listener: (KeyboardEvent) -> Unit): Int
Link copied to clipboard
open override fun onRemove()
Link copied to clipboard
open override fun opacity(opacity: Double?)
Link copied to clipboard
@Composable
open override fun options(options: List<String>?)

Set the list of options.

Link copied to clipboard
open override fun order(order: Int?)
Link copied to clipboard
open override fun outline(outline: Outline?)
Link copied to clipboard
open override fun overflow(overflow: Overflow?)
Link copied to clipboard
open override fun overflowWrap(overflowWrap: OverflowWrap?)
Link copied to clipboard
open override fun overflowX(overflowX: Overflow?)
Link copied to clipboard
open override fun overflowY(overflowY: Overflow?)
Link copied to clipboard
open override fun padding(padding: CssSize?)
Link copied to clipboard
open override fun paddingBottom(paddingBottom: CssSize?)
Link copied to clipboard
open override fun paddingLeft(paddingLeft: CssSize?)
Link copied to clipboard
open override fun paddingRight(paddingRight: CssSize?)
Link copied to clipboard
open override fun paddingTop(paddingTop: CssSize?)
Link copied to clipboard
open override fun placeholder(placeholder: String?)
Link copied to clipboard
open override fun position(position: Position?)
Link copied to clipboard
open override fun readonly(readonly: Boolean?)
Link copied to clipboard
open override fun removeAttribute(name: String)
Link copied to clipboard
open override fun removeEventListener(name: String, id: Int?)
Link copied to clipboard
open override fun removeStyle(name: String)
Link copied to clipboard
Link copied to clipboard
open override fun renderToStringBuilder(builder: StringBuilder)
Link copied to clipboard
open override fun required(required: Boolean?)
Link copied to clipboard
open override fun resize(resize: Resize?)
Link copied to clipboard
open override fun right(right: CssSize?)
Link copied to clipboard
open override fun role(role: String?)
Link copied to clipboard
open override fun rowGap(rowGap: CssSize?)
Link copied to clipboard
open override fun setAttribute(name: String, value: String?)
Link copied to clipboard
open override fun setDragDropData(format: String, data: String)
Link copied to clipboard
open override fun setDropTarget(callback: (DragEvent) -> Unit)
open override fun setDropTarget(format: String, callback: (DragEvent) -> Unit)
open override fun setDropTarget(formats: Set<String>?, callback: (DragEvent) -> Unit)
Link copied to clipboard
open override fun setDropTargetData(format: String, callback: (String?) -> Unit)
Link copied to clipboard
open override fun setStyle(name: String, value: String?)
Link copied to clipboard
open fun setValue(value: Any?)
Link copied to clipboard
open fun show()
Link copied to clipboard
open override fun style(name: String, value: String?)
Link copied to clipboard
open override fun tabindex(tabindex: Int?)
Link copied to clipboard
open override fun textAlign(textAlign: TextAlign?)
Link copied to clipboard
open override fun textDecoration(textDecoration: TextDecoration?)
Link copied to clipboard
open override fun textIndent(textIndent: CssSize?)
Link copied to clipboard
open override fun textOverflow(textOverflow: TextOverflow?)
Link copied to clipboard
open override fun textShadow(textShadow: TextShadow?)
Link copied to clipboard
open override fun textTransform(textTransform: TextTransform?)
Link copied to clipboard
open override fun title(title: String?)
Link copied to clipboard
open fun toggle()
Link copied to clipboard
@Composable
fun IComponent.tomSelect(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 ITomSelect.() -> Unit = {})

Creates TomSelect component.

Link copied to clipboard
@Composable
fun IComponent.tomSelectRef(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 ITomSelect.() -> Unit = {}): TomSelect

Creates TomSelect component, returning a reference.

Link copied to clipboard
@Composable
fun IComponent.tomTypeahead(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.

Link copied to clipboard
@Composable
fun IComponent.tomTypeaheadRef(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, returning a reference.

Link copied to clipboard
open override fun top(top: CssSize?)
Link copied to clipboard
open override fun transition(transition: Transition?)
Link copied to clipboard
open override fun transitionList(transitionList: List<Transition>?)
Link copied to clipboard
@Composable
open override fun tsCallbacks(tsCallbacks: TomSelectCallbacks?)

Set Tom Select callbacks.

Link copied to clipboard
open override fun type(type: InputType)
Link copied to clipboard
open operator fun String.unaryPlus()
Link copied to clipboard
open override fun unicodeBidi(unicodeBidi: UnicodeBidi?)
Link copied to clipboard
open override fun uninstallMask()
Link copied to clipboard
fun <T> updateProperty(property: String, value: T)
fun <T> updateProperty(property: KProperty<*>, value: T)
Link copied to clipboard
open override fun verticalAlign(verticalAlign: VerticalAlign?)
Link copied to clipboard
open override fun visible(visible: Boolean)
Link copied to clipboard
open override fun whiteSpace(whiteSpace: WhiteSpace?)
Link copied to clipboard
open override fun width(width: CssSize?)
Link copied to clipboard
open override fun wordBreak(wordBreak: WordBreak?)
Link copied to clipboard
open override fun wordSpacing(wordSpacing: CssSize?)
Link copied to clipboard
open override fun zIndex(zIndex: Int?)