mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
[list.js] Add alphabet option (#41952)
See: https://listjs.com/api/#sort
This commit is contained in:
Vendored
+1
@@ -12,6 +12,7 @@ declare class List {
|
||||
matchingItems: object[];
|
||||
searched: boolean;
|
||||
filtered: boolean;
|
||||
alphabet: string;
|
||||
|
||||
constructor(element: string|HTMLElement, options?: List.ListOptions, values?: object[]);
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ list.visibleItems; // $ExpectType object[]
|
||||
list.matchingItems; // $ExpectType object[]
|
||||
list.searched; // $ExpectType boolean
|
||||
list.filtered; // $ExpectType boolean
|
||||
list.alphabet; // $ExpectType string
|
||||
|
||||
list.add([{ // $ExpectType void
|
||||
name: "value",
|
||||
|
||||
Reference in New Issue
Block a user