@serenity-is/corelib / Select2QueryOptions
Interface: Select2QueryOptions
Defined in: src/ui/editors/select2.tsx:16
Options passed to a Select2 query callback.
Properties
callback()?
optionalcallback: (p1) =>void
Defined in: src/ui/editors/select2.tsx:26
Callback invoked with the results.
Parameters
p1
Returns
void
context?
optionalcontext:any
Defined in: src/ui/editors/select2.tsx:24
Additional context.
element?
optionalelement:Select2Element
Defined in: src/ui/editors/select2.tsx:18
The element the query is for.
matcher()?
optionalmatcher: (p1,p2,p3?) =>boolean
Defined in: src/ui/editors/select2.tsx:28
Custom matcher function.
Parameters
p1
any
p2
any
p3?
any
Returns
boolean
page?
optionalpage:number
Defined in: src/ui/editors/select2.tsx:22
The page number.
term?
optionalterm:string
Defined in: src/ui/editors/select2.tsx:20
The search term.