TomSelectOptions

data class TomSelectOptions(val create: Boolean? = null, val createFun: (input: String, callback: (<Error class: unknown class><String, String>) -> Unit) -> Unit? = null, val createOnBlur: Boolean? = null, val createFilter: String? = null, val highlight: Boolean? = null, val persist: Boolean? = null, val openOnFocus: Boolean? = null, val maxItems: Int? = null, val hideSelected: Boolean? = null, val closeAfterSelect: Boolean? = null, val loadThrottle: Int? = 300, val loadingClass: String? = null, val hidePlaceholder: Boolean? = null, val preload: Boolean? = null, val preloadOnFocus: Boolean? = null, val addPrecedence: Boolean? = null, val selectOnTab: Boolean? = null, val duplicates: Boolean? = null, val controlInput: dynamic = null, val hideControlInput: Boolean? = null, val caretPosition: Boolean? = null, val checkboxOptions: Boolean? = null, val clearButtonTitle: String? = null, val dropdownHeaderTitle: String? = null, val dropdownInput: Boolean? = null, val inputAutogrow: Boolean? = null, val noActiveItems: Boolean? = null, val noBackspaceDelete: Boolean? = null, val removeButtonTitle: String? = null, val restoreOnBackspace: Boolean? = null, val options: List<dynamic>? = null, val dataAttr: String? = null, val valueField: String? = null, val labelField: String? = null, val disabledField: String? = null, val sortField: String? = null, val searchField: List<String>? = null, val searchConjunction: String? = null)

Constructors

Link copied to clipboard
constructor(create: Boolean? = null, createFun: (input: String, callback: (<Error class: unknown class><String, String>) -> Unit) -> Unit? = null, createOnBlur: Boolean? = null, createFilter: String? = null, highlight: Boolean? = null, persist: Boolean? = null, openOnFocus: Boolean? = null, maxItems: Int? = null, hideSelected: Boolean? = null, closeAfterSelect: Boolean? = null, loadThrottle: Int? = 300, loadingClass: String? = null, hidePlaceholder: Boolean? = null, preload: Boolean? = null, preloadOnFocus: Boolean? = null, addPrecedence: Boolean? = null, selectOnTab: Boolean? = null, duplicates: Boolean? = null, controlInput: dynamic = null, hideControlInput: Boolean? = null, caretPosition: Boolean? = null, checkboxOptions: Boolean? = null, clearButtonTitle: String? = null, dropdownHeaderTitle: String? = null, dropdownInput: Boolean? = null, inputAutogrow: Boolean? = null, noActiveItems: Boolean? = null, noBackspaceDelete: Boolean? = null, removeButtonTitle: String? = null, restoreOnBackspace: Boolean? = null, options: List<dynamic>? = null, dataAttr: String? = null, valueField: String? = null, labelField: String? = null, disabledField: String? = null, sortField: String? = null, searchField: List<String>? = null, searchConjunction: String? = null)

Properties

Link copied to clipboard
val addPrecedence: Boolean? = null
Link copied to clipboard
val caretPosition: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val controlInput: dynamic = null
Link copied to clipboard
val create: Boolean? = null
Link copied to clipboard
val createFilter: String? = null
Link copied to clipboard
val createFun: (input: String, callback: (<Error class: unknown class><String, String>) -> Unit) -> Unit? = null
Link copied to clipboard
val createOnBlur: Boolean? = null
Link copied to clipboard
val dataAttr: String? = null
Link copied to clipboard
val disabledField: String? = null
Link copied to clipboard
Link copied to clipboard
val dropdownInput: Boolean? = null
Link copied to clipboard
val duplicates: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val hideSelected: Boolean? = null
Link copied to clipboard
val highlight: Boolean? = null
Link copied to clipboard
val inputAutogrow: Boolean? = null
Link copied to clipboard
val labelField: String? = null
Link copied to clipboard
val loadingClass: String? = null
Link copied to clipboard
val loadThrottle: Int? = 300
Link copied to clipboard
val maxItems: Int? = null
Link copied to clipboard
val noActiveItems: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val openOnFocus: Boolean? = null
Link copied to clipboard
val options: List<dynamic>? = null
Link copied to clipboard
val persist: Boolean? = null
Link copied to clipboard
val preload: Boolean? = null
Link copied to clipboard
val preloadOnFocus: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val searchField: List<String>? = null
Link copied to clipboard
val selectOnTab: Boolean? = null
Link copied to clipboard
val sortField: String? = null
Link copied to clipboard
val valueField: String? = null

Functions

Link copied to clipboard
fun TomSelectOptions.toJs(emptyOption: Boolean): dynamic