Source: xxe/editor/DocumentSavedAsEvent.js

  1. /**
  2. * {@link XMLEditorEvent} sent after the document being edited in an XMLEditor
  3. * has been successfully saved to a new disk location.
  4. *
  5. * @see XMLEditor#saveDocumentAs
  6. */
  7. export class DocumentSavedAsEvent extends XMLEditorEvent {
  8. constructor(xmlEditor, data) {
  9. super(xmlEditor, data, "documentSavedAs");
  10. }
  11. /**
  12. * Get the <code>url</code> property of this event.
  13. *
  14. * @type {string}
  15. */
  16. get url() {
  17. return this._url;
  18. }
  19. /**
  20. * Get the <code>readOnly</code> property of this event.
  21. *
  22. * @type {boolean}
  23. */
  24. get readOnly() {
  25. return this._readOnly;
  26. }
  27. }