The parseFromUrl method, as the parseFromString, accepts a URL as the first argument and a callback function which is called right after the new UI is rendered as the second. The first argument of the callback function is the root widget of the XML document returned by the URL.
Syntax | widget.parseFromUrl(s, oncomplete); |
---|---|
Parameters | s : Required. string URL. oncomplete : Optional. Callback function |
Returns | - |