Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Select2Options
Interface Select2Options
Index
Properties
ajax
allowClear
closeOnSelect
containerCss
containerCssClass
createSearchChoice
data
dropdownAutoWidth
dropdownCss
dropdownCssClass
escapeMarkup
formatInputTooShort
formatLoadMore
formatNoMatches
formatResult
formatResultCssClass
formatSearching
formatSelection
formatSelectionTooBig
id
initSelection
matcher
maximumSelectionSize
minimumInputLength
minimumResultsForSearch
multiple
openOnEnter
placeholder
query
separator
tags
tokenSeparators
tokenizer
width
Properties
optional
public
ajax
?:
Select2AjaxOptions
optional
public
allowClear
?:
boolean
optional
public
closeOnSelect
?:
boolean
optional
public
containerCss
?:
any
optional
public
containerCssClass
?:
any
optional
public
createSearchChoice
?:
(term: string, data: any) => any
optional
public
data
?:
any
optional
public
dropdownAutoWidth
?:
boolean
optional
public
dropdownCss
?:
any
optional
public
dropdownCssClass
?:
any
optional
public
escapeMarkup
?:
(markup: string) => string
optional
public
formatInputTooShort
?:
(term: string, minLength: number) => string
optional
public
formatLoadMore
?:
(pageNumber: number) => string
optional
public
formatNoMatches
?:
(term: string) => string
optional
public
formatResult
?:
(object: any, container: JQuery, query: any, escapeMarkup: (markup: string) => string) => string
optional
public
formatResultCssClass
?:
(object: any) => string
optional
public
formatSearching
?:
() => string
optional
public
formatSelection
?:
(object: any, container: JQuery, escapeMarkup: (markup: string) => string) => string
optional
public
formatSelectionTooBig
?:
(maxSize: number) => string
optional
public
id
?:
(object: any) => string
optional
public
initSelection
?:
(element: JQuery, callback: (data: any) => void) => void
optional
public
matcher
?:
(term: string, text: string, option: any) => boolean
optional
public
maximumSelectionSize
?:
number
optional
public
minimumInputLength
?:
number
optional
public
minimumResultsForSearch
?:
number
optional
public
multiple
?:
boolean
optional
public
openOnEnter
?:
boolean
optional
public
placeholder
?:
string
optional
public
query
?:
(options: Select2QueryOptions) => void
optional
public
separator
?:
string
optional
public
tags
?:
any
optional
public
tokenSeparators
?:
Array<string>
optional
public
tokenizer
?:
(input: string, selection: any[], selectCallback: () => void, options: Select2Options) => string
optional
public
width
?:
string
Globals
jquery