Config < T > : { deterministicFilter : ( ( model ) => Iterable < T > ) ; deterministicFilterCacheKeyFn : ( ( model ) => string ) ; filteredItemCache : Map < string , T [] > ; isEmptyItem : ( ( value ) => boolean ) ; itemStore ?: ItemStore < T > ; namespace : string ; preserveSelected ?: boolean ; sortSelectedItems ?: ( ( a , b ) => number ) ; toItemId : ( ( item ) => string | number ) ; toItemInputValue : ( ( item ) => string ) ; }
Type declaration
deterministic Filter : ( ( model ) => Iterable < T > )
( model ) : Iterable < T >
Returns Iterable < T >
deterministic Filter Cache Key Fn : ( ( model ) => string )
( model ) : string
Returns string
filtered Item Cache : Map < string , T [] >
is Empty Item : ( ( value ) => boolean )
( value ) : boolean
Returns boolean
Optional
item Store ?: ItemStore < T >
namespace : string
Optional
preserve Selected ?: boolean
Optional
sort Selected Items ?: ( ( a , b ) => number )
( a , b ) : number
Returns number
to Item Id : ( ( item ) => string | number )
( item ) : string | number
Returns string | number
to Item Input Value : ( ( item ) => string )
( item ) : string
Returns string
Defined in combobox.ts:36
Remark
⚠️ All these functions should be deterministic!