Skip to content

obsidian/FileView

Mock of Obsidian’s FileView, the base class of views that display a single file.

Class Description
FileView Mock of Obsidian’s FileView. FileView.setState resolves the file path in the state and loads it through FileView.loadFile, exactly as Obsidian does, so WorkspaceLeaf.openFile really leaves the view holding the file. The rename hook does nothing.