Type Alias DocAuthEditor

DocAuthEditor: {
    setCurrentDocument(doc: DocAuthDocument): void;
    currentDocument(): DocAuthDocument;
    destroy(): void;
    docAuthSystem(): DocAuthSystem;
}

Type declaration

  • setCurrentDocument:function
    • Attaches the provided document as the current document to the editor.

      Parameters

      Returns void

  • currentDocument:function
  • destroy:function
    • Removes all DOM elements and releases resources held by the editor. Note: This does not release the underlying DocAuthSystem. Use DocAuthSystem.destroy after calling DocAuthEditor.destroy for a complete teardown.

      Returns void

  • docAuthSystem:function