Skip to content

FuzzySuggestModal.getItems method

FuzzySuggestModal › getItems

Official

Get the items to be used in the fuzzy search.

Signature:

getItems(): T[]

Returns: T[]the items to be used in the fuzzy search.

Since: 0.9.20

Example:

class MyFuzzySuggestModal extends FuzzySuggestModal<string> {
public override getItems(): string[] {
return ['foo', 'bar', 'baz'];
}
}