Modal
Extends
Extended by
Implements
Constructors
new Modal()
new Modal(
app
):Modal
Parameters
• app: App
Returns
Properties
app
app:
App
containerEl
containerEl:
HTMLElement
contentEl
contentEl:
HTMLElement
modalEl
modalEl:
HTMLElement
scope
scope:
Scope
shouldAnimate
shouldAnimate:
boolean
Whether the modal should animate
shouldRestoreSelection
shouldRestoreSelection:
boolean
titleEl
titleEl:
HTMLElement
win
win:
null
|Window
Reference to the global Window object
Methods
close()
close():
void
Returns
void
Implementation of
Inherited from
onClose()
onClose():
void
Returns
void
onOpen()
onOpen():
void
Returns
void
open()
open():
void
Returns
void
setContent()
setContent(
content
):this
Parameters
• content: string
| DocumentFragment
Returns
this
setTitle()
setTitle(
title
):this
Parameters
• title: string
Returns
this