# Source: editor/DocumentCreatedEvent.js

    /**
     * {@link DocumentOpenedEvent} sent after a newly-created document has been
     * successfully opened in an XMLEditor.
     *
     * @see XMLEditor#newDocumentFromTemplate
     * @see XMLEditor#newFileFromTemplate
     * @see XMLEditor#newDocument
     * @see XMLEditor#newFile
     */
    export class DocumentCreatedEvent extends DocumentOpenedEvent {
        constructor(xmlEditor, data) {
            super(xmlEditor, data, "documentCreated");
        }
    }