FuzzySuggestModal

FuzzySuggestModal class

Signature:

export abstract class FuzzySuggestModal<T> extends SuggestModal<FuzzyMatch<T>> 

Extends: SuggestModal<FuzzyMatch<T>>

Constructors

ConstructorModifiersDescription
(constructor)(app)

Constructs a new instance of the SuggestModal class

(Inherited from SuggestModal)

Properties

PropertyModifiersTypeDescription
appApp

(Inherited from Modal)

containerElHTMLElement

(Inherited from Modal)

contentElHTMLElement

(Inherited from Modal)

emptyStateTextstring

(Inherited from SuggestModal)

inputElHTMLInputElement

(Inherited from SuggestModal)

limitnumber

(Inherited from SuggestModal)

modalElHTMLElement

(Inherited from Modal)

resultContainerElHTMLElement

(Inherited from SuggestModal)

scopeScope

(Inherited from Modal)

shouldRestoreSelectionboolean

(Inherited from Modal)

titleElHTMLElement

(Inherited from Modal)

Methods

MethodModifiersDescription
close()

Hide the modal.

(Inherited from Modal)

getItems()abstract
getItemText(item)abstract
getSuggestions(query)
onChooseItem(item, evt)abstract
onChooseSuggestion(item, evt)
onClose()

(Inherited from Modal)

onNoSuggestion()

(Inherited from SuggestModal)

onOpen()

(Inherited from Modal)

open()

Show the modal on the the active window. On mobile, the modal will animate on screen.

(Inherited from Modal)

renderSuggestion(item, el)
selectActiveSuggestion(evt)

(Inherited from SuggestModal)

selectSuggestion(value, evt)

(Inherited from SuggestModal)

setContent(content)

(Inherited from Modal)

setInstructions(instructions)

(Inherited from SuggestModal)

setPlaceholder(placeholder)

(Inherited from SuggestModal)

setTitle(title)

(Inherited from Modal)