blob: 6bc63b5e74d782891895e315db7548cca81284b2 [file] [log] [blame]
{ "type": "method",
"qname": "org.apache.royale.utils.js.loadJavascript",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Utility function to dynamically load Javascript in your application. The callback will be called (with no arguments) when the javascript is loaded.",
"tags": [
{ "tagName": "param",
"values": ["url The url of the js file.", "callback (optional) the function to be called when the code is loaded."]},
{ "tagName": "productversion",
"values": ["Royale 0.9.4"]},
{ "tagName": "royaleignorecoercion",
"values": ["HTMLScriptElement"]},
{ "tagName": "langversion",
"values": ["3.0"]},
{ "tagName": "royalesuppressexport",
"values": []} ],
"return": "void",
"params": [{ "name": "url", "type": "String"},
{ "name": "callback", "type": "Function"}]}