FuzzySuggestModal
Defined in: obsidian.d.ts:1831
Extends
Type Parameters
• T
Constructors
new FuzzySuggestModal()
new FuzzySuggestModal<
T
>(app
):FuzzySuggestModal
<T
>
Defined in: obsidian.d.ts:3947
Parameters
app
Returns
Inherited from
Properties
app
app:
App
Defined in: obsidian.d.ts:2810
Inherited from
containerEl
containerEl:
HTMLElement
Defined in: obsidian.d.ts:2818
Inherited from
contentEl
contentEl:
HTMLElement
Defined in: obsidian.d.ts:2831
Inherited from
ctaEl
ctaEl:
HTMLDivElement
Defined in: src/obsidian/augmentations/SuggestModal.d.ts:8
Inherited from
emptyStateText
emptyStateText:
string
Defined in: obsidian.d.ts:3932
Inherited from
inputEl
inputEl:
HTMLInputElement
Defined in: obsidian.d.ts:3937
Inherited from
limit
limit:
number
Defined in: obsidian.d.ts:3928
Inherited from
modalEl
modalEl:
HTMLElement
Defined in: obsidian.d.ts:2822
Inherited from
resultContainerEl
resultContainerEl:
HTMLElement
Defined in: obsidian.d.ts:3942
Inherited from
SuggestModal
.resultContainerEl
scope
scope:
Scope
Defined in: obsidian.d.ts:2814
Inherited from
shouldAnimate
shouldAnimate:
boolean
Defined in: src/obsidian/augmentations/Modal.d.ts:18
Whether the modal should animate
Inherited from
shouldRestoreSelection
shouldRestoreSelection:
boolean
Defined in: obsidian.d.ts:2836
Inherited from
SuggestModal
.shouldRestoreSelection
titleEl
titleEl:
HTMLElement
Defined in: obsidian.d.ts:2827
Inherited from
win
win:
null
|Window
Defined in: src/obsidian/augmentations/Modal.d.ts:22
Reference to the global Window object
Inherited from
Methods
close()
close():
void
Defined in: obsidian.d.ts:2850
Returns
void
Inherited from
getItems()
abstract
getItems():T
[]
Defined in: obsidian.d.ts:1847
Returns
T
[]
getItemText()
abstract
getItemText(item
):string
Defined in: obsidian.d.ts:1851
Parameters
item
T
Returns
string
getSuggestions()
getSuggestions(
query
):FuzzyMatch
<T
>[]
Defined in: obsidian.d.ts:1835
Parameters
query
string
Returns
FuzzyMatch
<T
>[]
Overrides
onChooseItem()
abstract
onChooseItem(item
,evt
):void
Defined in: obsidian.d.ts:1855
Parameters
item
T
evt
Returns
void
onChooseSuggestion()
onChooseSuggestion(
item
,evt
):void
Defined in: obsidian.d.ts:1843
Parameters
item
FuzzyMatch
<T
>
evt
Returns
void
Overrides
SuggestModal
.onChooseSuggestion
onClose()
onClose():
void
Defined in: obsidian.d.ts:2858
Returns
void
Inherited from
onNoSuggestion()
onNoSuggestion():
void
Defined in: obsidian.d.ts:3960
Returns
void
Inherited from
onOpen()
onOpen():
void
Defined in: obsidian.d.ts:2854
Returns
void
Inherited from
open()
open():
void
Defined in: obsidian.d.ts:2845
Returns
void
Inherited from
renderSuggestion()
renderSuggestion(
item
,el
):void
Defined in: obsidian.d.ts:1839
Parameters
item
FuzzyMatch
<T
>
el
Returns
void
Overrides
selectActiveSuggestion()
selectActiveSuggestion(
evt
):void
Defined in: obsidian.d.ts:3968
Parameters
evt
Returns
void
Inherited from
SuggestModal
.selectActiveSuggestion
selectSuggestion()
selectSuggestion(
value
,evt
):void
Defined in: obsidian.d.ts:3964
Parameters
value
FuzzyMatch
<T
>
evt
Returns
void
Inherited from
setContent()
setContent(
content
):this
Defined in: obsidian.d.ts:2867
Parameters
content
string
| DocumentFragment
Returns
this
Inherited from
setInstructions()
setInstructions(
instructions
):void
Defined in: obsidian.d.ts:3955
Parameters
instructions
Returns
void
Inherited from
setPlaceholder()
setPlaceholder(
placeholder
):void
Defined in: obsidian.d.ts:3951
Parameters
placeholder
string
Returns
void
Inherited from
setTitle()
setTitle(
title
):this
Defined in: obsidian.d.ts:2863
Parameters
title
string
Returns
this