load
Description
This event will be fired when a new document is being loaded.
// Create an event handler that shows the URI of the loaded document.
function myLoadHandler(evt)
{
alert("Document loaded: " + evt.document.getDocumentURI());
}
// Attach the event handler.
Editor.addEventListener("load", myLoadHandler);
load event
Properties
- canvas
XopusCanvas. The canvas in which the document is loaded.- document
XopusDocument. The XML document that was loaded. This can be used to attach other eventListeners.- target
Editor. The object that originally fired the event.- type
String. The type of the event.