Constructor
new QuickModal(parameters, bodyopt)
Creates an instance of QuickModal
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters |
Object | String | Parameters holder. Use a String if you want a quick initialization
Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
body |
String |
<optional> |
Body content if you want a quick initialization |
- Source:
Members
id
This ID is unique at the time it's accessed
- Source:
Methods
(static) destroy(id)
Removes any QuickModal mutation from the DOM
Parameters:
Name | Type | Description |
---|---|---|
id |
Integer | The targeted QuickModal id |
- Source:
close() → {Promise}
Closes the QuickModal
- Source:
Returns:
A promise resolved once the QuickModal is fully hidden
- Type
- Promise
destroy()
Removes any QuickModal mutation from the DOM
- Source:
open() → {Promise}
Opens the QuickModal
- Source:
Returns:
A promise resolved once the QuickModal is fully displayed
- Type
- Promise