Allows creating and managing dialogs. A dialog is modal window that contains a webview and a row of buttons. You can update the update the webview using the setHtml method.
Dialogs are hidden by default and you need to call open() to open them. Once the user clicks on a button, the open call will return an object indicating what button was clicked
on. If your HTML content included one or more form, a formData object will also be included with the key/value for each form.
There is currently no "close" method since the dialog should be thought as a modal one and thus can only be closed by clicking on one of the buttons.
Allows creating and managing dialogs. A dialog is modal window that contains a webview and a row of buttons. You can update the update the webview using the
setHtml
method. Dialogs are hidden by default and you need to callopen()
to open them. Once the user clicks on a button, theopen
call will return an object indicating what button was clicked on. If your HTML content included one or more form, aformData
object will also be included with the key/value for each form. There is currently no "close" method since the dialog should be thought as a modal one and thus can only be closed by clicking on one of the buttons.View the demo plugin