blob: b6491593b9963397993d88f66434e2f9834726d5 [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.mdl.Dialog",
"baseClassname": "org.apache.royale.html.Group"
,
"description": "The MDL Dialog class creates modal windows for dedicated user input. The Material Design Lite (MDL) dialog component allows for verification of user actions, simple data input, and alerts to provide extra information to users. Note: Dialogs use the HTML <dialog> element, which currently has very limited cross-browser support. To ensure support across all modern browsers, we use use dialogPolyfill extern or creating your own. There is no polyfill included with MDL. Use DialogContent to insert content and DialogActions for the buttons to allow user interaction",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "org.apache.royale.mdl.Dialog",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "constructor.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": []}
,
{ "type": "method",
"qname": "createElement",
"namespace": "protected",
"bindable": [],
"details": ["override"],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.WrappedHTMLElement", "HTMLDialogElement"]} ],
"return": "org.apache.royale.core.WrappedHTMLElement",
"params": []}
,
{ "type": "method",
"qname": "showModal",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Displays the dialog element and makes it the top-most modal dialog.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "show",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Displays the dialog element. Note: It seems MDL does not support non modal dialogs, since there's no examples and dialogs are always added to &quot;document.body&quot;.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "close",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Closes the dialog element.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.8"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": []}
,
{ "type": "accessor",
"access": "read-only",
"return": "Boolean",
"qname": "open",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Indicates whether the dialog is open. see https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.9.3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Boolean",
"qname": "visible",
"namespace": "public",
"bindable": [],
"details": ["override"],
"deprecated": {}}]
,
"events": [
{ "qname": "close",
"type": "org.apache.royale.events.Event"
}]
}