SuggestModal
Defined in: obsidian.d.ts:3924
Extends
Extended by
Type Parameters
• T
Implements
Constructors
new SuggestModal()
new SuggestModal<
T
>(app
):SuggestModal
<T
>
Defined in: obsidian.d.ts:3947
Parameters
app
Returns
SuggestModal
<T
>
Overrides
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
emptyStateText
emptyStateText:
string
Defined in: obsidian.d.ts:3932
inputEl
inputEl:
HTMLInputElement
Defined in: obsidian.d.ts:3937
limit
limit:
number
Defined in: obsidian.d.ts:3928
modalEl
modalEl:
HTMLElement
Defined in: obsidian.d.ts:2822
Inherited from
resultContainerEl
resultContainerEl:
HTMLElement
Defined in: obsidian.d.ts:3942
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
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
getSuggestions()
abstract
getSuggestions(query
):T
[] |Promise
<T
[]>
Defined in: obsidian.d.ts:3972
Parameters
query
string
Returns
T
[] | Promise
<T
[]>
onChooseSuggestion()
abstract
onChooseSuggestion(item
,evt
):void
Defined in: obsidian.d.ts:3980
Parameters
item
T
evt
Returns
void
onClose()
onClose():
void
Defined in: obsidian.d.ts:2858
Returns
void
Inherited from
onNoSuggestion()
onNoSuggestion():
void
Defined in: obsidian.d.ts:3960
Returns
void
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()
abstract
renderSuggestion(value
,el
):void
Defined in: obsidian.d.ts:3976
Parameters
value
T
el
Returns
void
Implementation of
ISuggestOwner
.renderSuggestion
Inherited from
ISuggestOwner
.renderSuggestion
selectActiveSuggestion()
selectActiveSuggestion(
evt
):void
Defined in: obsidian.d.ts:3968
Parameters
evt
Returns
void
selectSuggestion()
selectSuggestion(
value
,evt
):void
Defined in: obsidian.d.ts:3964
Parameters
value
T
evt
Returns
void
Implementation of
ISuggestOwner
.selectSuggestion
Inherited from
ISuggestOwner
.selectSuggestion
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
setPlaceholder()
setPlaceholder(
placeholder
):void
Defined in: obsidian.d.ts:3951
Parameters
placeholder
string
Returns
void
setTitle()
setTitle(
title
):this
Defined in: obsidian.d.ts:2863
Parameters
title
string
Returns
this