Classes
- Dialog
- Feedback dialog for use within the context mw.Feedback.
Constructor
new mw.Feedback([config])
#
Create an instance of mw.Feedback
.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
optional |
Configuration object Properties:
|
- Source:
Methods
launch([contents])
#
Modify the display form, and then open it, focusing interface on the subject.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
contents |
Object |
optional |
Prefilled contents for the feedback form. Properties: |
- Source:
onDialogSubmit(status, feedbackPageName, feedbackPageUrl)
#
Respond to dialog submit event. If the information was submitted successfully, open a MessageDialog to thank the user.
Parameters:
Name | Type | Description |
---|---|---|
status |
string | A status of the end of operation of the main feedback dialog. Empty if the dialog was dismissed with no action or the user followed the button to the external task reporting site. |
feedbackPageName |
string | |
feedbackPageUrl |
string |
- Source: