MCPcopy Create free account
hub / github.com/Make-md/makemd / onOpen

Method onOpen

src/adapters/obsidian/ui/editors/HTMLFileViewer.tsx:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 }
33
34 async onOpen(): Promise<void> {
35 this.destroy();
36 }
37
38 async setState(state: any, result: ViewStateResult): Promise<void> {
39 this.file = getAbstractFileAtPath(this.plugin.app, state.file) as TFile;

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.95

Tested by

no test coverage detected