TomSelectCallbacksJs

Tom Select callbacks configuration.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var load: (query: String, callback: (JsArray<JsAny>) -> Unit) -> Unit
Link copied to clipboard
var onBlur: () -> Unit
Link copied to clipboard
var onChange: (value: JsAny) -> Unit
Link copied to clipboard
var onClear: () -> Unit
Link copied to clipboard
var onDelete: (value: JsAny, event: JsAny) -> Unit
Link copied to clipboard
var onDropdownClose: (dropdown: JsAny) -> Unit
Link copied to clipboard
var onDropdownOpen: (dropdown: JsAny) -> Unit
Link copied to clipboard
var onFocus: () -> Unit
Link copied to clipboard
var onInitialize: () -> Unit
Link copied to clipboard
var onItemAdd: (value: JsAny, item: JsAny) -> Unit
Link copied to clipboard
var onItemRemove: (value: JsAny) -> Unit
Link copied to clipboard
var onLoad: (options: JsAny, optgroup: JsAny) -> Unit
Link copied to clipboard
var onOptionAdd: (value: JsAny, data: JsAny) -> Unit
Link copied to clipboard
var onOptionRemove: (value: JsAny) -> Unit
Link copied to clipboard
var onType: (str: String) -> Unit
Link copied to clipboard
var score: (search: String) -> (JsAny) -> Int
Link copied to clipboard
var shouldLoad: (query: String) -> Boolean