Skip to content

OutgoingLinkView

Defined in: src/obsidian/internals/InternalPlugins/OutgoingLink/OutgoingLinkView.d.ts:9

_children: Component[]

Defined in: src/obsidian/augmentations/Components/Component.d.ts:13

Child Components attached to current component, will be unloaded on unloading parent component.

InfoFileView._children


_events: EventRef[]

Defined in: src/obsidian/augmentations/Components/Component.d.ts:20

Events that are attached to the current component, will be detached on unloading parent component.

InfoFileView._events


_loaded: boolean

Defined in: src/obsidian/augmentations/Components/Component.d.ts:27

Whether the component and its children are loaded.

InfoFileView._loaded


actionsEl: HTMLElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:13

Container of actions for the view.

InfoFileView.actionsEl


allowNoFile: boolean

Defined in: obsidian.d.ts:1742

InfoFileView.allowNoFile


app: App

Defined in: obsidian.d.ts:4547

InfoFileView.app


backButtonEl: HTMLButtonElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:20

Back button element for changing view history.

InfoFileView.backButtonEl


canDropAnywhere: boolean

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:27

Whether the view may be dropped anywhere in workspace.

InfoFileView.canDropAnywhere


closeable: boolean

Defined in: src/obsidian/augmentations/Views/View.d.ts:22

Whether the leaf may close the view.

InfoFileView.closeable


containerEl: HTMLElement

Defined in: obsidian.d.ts:4569

InfoFileView.containerEl


contentEl: HTMLElement

Defined in: obsidian.d.ts:2115

InfoFileView.contentEl


file: null | TFile

Defined in: obsidian.d.ts:1746

InfoFileView.file


forwardButtonEl: HTMLButtonElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:41

Forward button element for changing view history.

InfoFileView.forwardButtonEl


headerEl: HTMLElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:48

Header bar container of view.

InfoFileView.headerEl


icon: string

Defined in: obsidian.d.ts:4551

InfoFileView.icon


iconEl: HTMLElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:55

Icon element for the view (for dragging).

InfoFileView.iconEl


leaf: WorkspaceLeaf

Defined in: obsidian.d.ts:4565

InfoFileView.leaf


moreOptionsButtonEl: HTMLAnchorElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:62

Anchor button for revealing more view actions.

InfoFileView.moreOptionsButtonEl


navigation: boolean

Defined in: obsidian.d.ts:1752

Whether or not the view is intended for navigation. If your view is a static view that is not intended to be navigated away, set this to false. (For example: File explorer, calendar, etc.) If your view opens a file or can be otherwise navigated, set this to true. (For example: Markdown editor view, Kanban view, PDF view, etc.)

InfoFileView.navigation


scope: null | Scope

Defined in: obsidian.d.ts:4581

Assign an optional scope to your view to register hotkeys for when the view is in focus.

this.scope = new Scope(this.app.scope);
null
@public

InfoFileView.scope


titleContainerEl: HTMLElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:69

Container for the title of the view.

InfoFileView.titleContainerEl


titleEl: HTMLElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:76

Title element for the view.

InfoFileView.titleEl


titleParentEl: HTMLElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:84

Title of the parent.

InfoFileView.titleParentEl

addAction(icon, title, callback): HTMLElement

Defined in: obsidian.d.ts:2125

string

string

(evt) => any

HTMLElement

InfoFileView.addAction

addAction(icon, title, callback): HTMLElement

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:101

Add an action to the item view.

string

The icon of the action.

string

The title of the action.

(evt) => any

The callback to call when the action is clicked.

HTMLElement

The DOM element of the action.

const action = itemView.addAction('dice', 'foo', () => {
console.log('bar');
});

InfoFileView.addAction


addChild<T>(component): T

Defined in: obsidian.d.ts:911

Adds a child component, loading it if this component is loaded

T extends Component

T

T

InfoFileView.addChild

addChild<T>(component): T

Defined in: src/obsidian/augmentations/Components/Component.d.ts:41

Adds a child component, loading it if this component is loaded.

T extends Component

The type of the component to add.

T

The component to add.

T

The added component.

component.addChild(childComponent);

InfoFileView.addChild


canAcceptExtension(extension): boolean

Defined in: obsidian.d.ts:1792

string

boolean

InfoFileView.canAcceptExtension

canAcceptExtension(extension): boolean

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:41

Whether the file view can accept an extension.

string

The extension to check.

boolean

Whether the file view can accept the extension.

console.log(fileView.canAcceptExtension('md'));

InfoFileView.canAcceptExtension


close(): Promise<void>

Defined in: src/obsidian/augmentations/Views/View.d.ts:74

Closes the view.

Promise<void>

InfoFileView.close


constructor__(leaf): this

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:50

Create a new file view.

WorkspaceLeaf

The workspace leaf to create the file view in.

this

InfoFileView.constructor__


getDisplayText(): string

Defined in: obsidian.d.ts:1761

string

InfoFileView.getDisplayText

getDisplayText(): string

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:58

Get the display text for the file view.

string

The display text for the file view.

InfoFileView.getDisplayText


optional getDisplayText__(): string

Defined in: src/obsidian/augmentations/Views/View.d.ts:92

Get the display text of the view.

string

The display text of the view.

InfoFileView.getDisplayText__


getEphemeralState(): Record<string, unknown>

Defined in: obsidian.d.ts:4610

Record<string, unknown>

InfoFileView.getEphemeralState

getEphemeralState(): Record<string, unknown>

Defined in: src/obsidian/augmentations/Views/View.d.ts:100

Get the ephemeral state of the view.

Record<string, unknown>

The ephemeral state of the view.

InfoFileView.getEphemeralState


getIcon(): string

Defined in: obsidian.d.ts:4618

string

InfoFileView.getIcon

getIcon(): string

Defined in: src/obsidian/augmentations/Views/View.d.ts:108

Get the icon of the view.

string

The icon of the view.

InfoFileView.getIcon


getSideTooltipPlacement(): undefined | "left" | "right"

Defined in: src/obsidian/augmentations/Views/View.d.ts:115

Returns the placement of the tooltip.

undefined | "left" | "right"

InfoFileView.getSideTooltipPlacement


getState(): Record<string, unknown>

Defined in: obsidian.d.ts:1769

Record<string, unknown>

InfoFileView.getState

getState(): Record<string, unknown>

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:66

Get the state of the file view.

Record<string, unknown>

The state of the file view.

InfoFileView.getState


getSyncViewState(): unknown

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:73

Get view state for sync plugin.

unknown

InfoFileView.getSyncViewState


getViewType(): "outgoing-link"

Defined in: src/obsidian/internals/InternalPlugins/OutgoingLink/OutgoingLinkView.d.ts:13

Get the current view type.

"outgoing-link"

InfoFileView.getViewType


optional getViewType__(): string

Defined in: src/obsidian/augmentations/Views/View.d.ts:132

The type of the view.

string

The type of the view.

InfoFileView.getViewType__


handleCopy(event): void

Defined in: src/obsidian/augmentations/Views/View.d.ts:139

Handle copy event on metadata editor and serialize properties.

ClipboardEvent

void

InfoFileView.handleCopy


handleCut(event): void

Defined in: src/obsidian/augmentations/Views/View.d.ts:146

Handle cut event on metadata editor and serialize and remove properties.

ClipboardEvent

void

InfoFileView.handleCut


handleDrop(event, t, n): unknown

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:116

DragEvent

unknown

unknown

unknown

InfoFileView.handleDrop


handlePaste(event): void

Defined in: src/obsidian/augmentations/Views/View.d.ts:153

Handle paste event of properties on metadata editor.

ClipboardEvent

void

InfoFileView.handlePaste


load(): void

Defined in: obsidian.d.ts:889

Load this component and its children

void

InfoFileView.load

load(): void

Defined in: src/obsidian/augmentations/Components/Component.d.ts:48

Load this component and its children.

void

InfoFileView.load


loadFile(file): Promise<unknown>

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:81

Loads the file with the onLoadFile function.

TFile

The File to load.

Promise<unknown>

InfoFileView.loadFile


onClose(): Promise<void>

Defined in: obsidian.d.ts:4594

Promise<void>

InfoFileView.onClose


optional onClose__(): Promise<void>

Defined in: src/obsidian/augmentations/Views/View.d.ts:162

Called when the view is closed.

Promise<void>

A promise that resolves when the view is closed.

InfoFileView.onClose__


onDelete(file): Promise<void>

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:89

Updates the view if it contains the deleted file.

TFile

The file that is deleted.

Promise<void>

InfoFileView.onDelete


onFileOpen(file): void

Defined in: src/obsidian/internals/Views/InfoFileView.d.ts:18

Called when a file is opened. Loads the file and requests a content update.

TFile

The opened file.

void

InfoFileView.onFileOpen


onGroupChange(): void

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:122

void

InfoFileView.onGroupChange


onHeaderMenu(e): void

Defined in: src/obsidian/augmentations/Views/View.d.ts:168

unknown

void

InfoFileView.onHeaderMenu


onload(): void

Defined in: obsidian.d.ts:1765

void

InfoFileView.onload

onload(): void

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:96

Called when the file view is loaded.

void

InfoFileView.onload


onLoadFile(file): Promise<void>

Defined in: obsidian.d.ts:1779

TFile

Promise<void>

InfoFileView.onLoadFile

onLoadFile(file): Promise<void>

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:114

Called when the file is loaded.

TFile

The file that is being loaded.

Promise<void>

A promise that resolves when the file is loaded.

class MyFileView extends FileView {
public override async onLoadFile(file: TFile): Promise<void> {
await super.onLoadFile(file);
console.log(file);
}
}

InfoFileView.onLoadFile


onMoreOptions(event): void

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:128

Event

void

InfoFileView.onMoreOptions


onMoreOptionsMenu(e): void

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:134

unknown

void

InfoFileView.onMoreOptionsMenu


onOpen(): Promise<void>

Defined in: obsidian.d.ts:4590

Promise<void>

InfoFileView.onOpen


optional onOpen__(): Promise<void>

Defined in: src/obsidian/augmentations/Views/View.d.ts:177

Called when the view is opened.

Promise<void>

A promise that resolves when the view is opened.

InfoFileView.onOpen__


onPaneMenu(menu, source): void

Defined in: obsidian.d.ts:4634

Populates the pane menu.

(Replaces the previously removed onHeaderMenu and onMoreOptionsMenu)

Menu

string

void

InfoFileView.onPaneMenu

onPaneMenu(menu, source): void

Defined in: src/obsidian/augmentations/Views/View.d.ts:188

Populates the pane menu.

(Replaces the previously removed onHeaderMenu and onMoreOptionsMenu)

Menu

The menu to populate.

string

The source of the menu.

void

InfoFileView.onPaneMenu


onRename(file): Promise<void>

Defined in: obsidian.d.ts:1787

TFile

Promise<void>

InfoFileView.onRename

onRename(file): Promise<void>

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:131

Called when the file is renamed.

TFile

The file that is being renamed.

Promise<void>

A promise that resolves when the file is renamed.

class MyFileView extends FileView {
public override async onRename(file: TFile): Promise<void> {
await super.onRename(file);
console.log(file);
}
}
@official
##### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`onRename`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#onrename)
***
### onResize()
#### Call Signature
> **onResize**(): `void`
Defined in: [obsidian.d.ts:4623](https://github.com/obsidianmd/obsidian-api/blob/HEAD/obsidian.d.ts#L4623)
Called when the size of this view is changed.
##### Returns
`void`
##### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`onResize`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#onresize)
#### Call Signature
> **onResize**(): `void`
Defined in: [src/obsidian/augmentations/Views/View.d.ts:195](https://github.com/Fevol/obsidian-typings/blob/3.7.1/src/obsidian/augmentations/Views/View.d.ts#L195)
Called when the size of this view is changed.
##### Returns
`void`
:::official{.official}
:::
##### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`onResize`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#onresize)
***
### onTabMenu()
> **onTabMenu**(`menu`): `void`
Defined in: [src/obsidian/augmentations/Views/View.d.ts:203](https://github.com/Fevol/obsidian-typings/blob/3.7.1/src/obsidian/augmentations/Views/View.d.ts#L203)
Adds the menu items to the menu.
#### Parameters
##### menu
[`Menu`](/obsidian-typings/api/obsidian-typings/namespaces/obsidian/classes/menu/)
the menu to fill.
#### Returns
`void`
:::unofficial{.unofficial}
:::
#### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`onTabMenu`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#ontabmenu)
***
### onunload()
> **onunload**(): `void`
Defined in: [obsidian.d.ts:906](https://github.com/obsidianmd/obsidian-api/blob/HEAD/obsidian.d.ts#L906)
Override this to unload your component
#### Returns
`void`
#### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`onunload`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#onunload)
***
### onUnloadFile()
#### Call Signature
> **onUnloadFile**(`file`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
Defined in: [obsidian.d.ts:1783](https://github.com/obsidianmd/obsidian-api/blob/HEAD/obsidian.d.ts#L1783)
##### Parameters
###### file
[`TFile`](/obsidian-typings/api/obsidian-typings/namespaces/obsidian/classes/tfile/)
##### Returns
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
##### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`onUnloadFile`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#onunloadfile)
#### Call Signature
> **onUnloadFile**(`file`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
Defined in: [src/obsidian/augmentations/Views/FileView.d.ts:148](https://github.com/Fevol/obsidian-typings/blob/3.7.1/src/obsidian/augmentations/Views/FileView.d.ts#L148)
Called when the file is unloaded.
##### Parameters
###### file
[`TFile`](/obsidian-typings/api/obsidian-typings/namespaces/obsidian/classes/tfile/)
The file that is being unloaded.
##### Returns
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
A promise that resolves when the file is unloaded.
##### Example
```ts
class MyFileView extends FileView {
public override async onUnloadFile(file: TFile): Promise<void> {
await super.onUnloadFile(file);
console.log(file);
}
}
@official
##### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`onUnloadFile`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#onunloadfile)
***
### open()
> **open**(`parentEl`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
Defined in: [src/obsidian/augmentations/Views/View.d.ts:211](https://github.com/Fevol/obsidian-typings/blob/3.7.1/src/obsidian/augmentations/Views/View.d.ts#L211)
Opens the view.
#### Parameters
##### parentEl
[`Node`](https://developer.mozilla.org/docs/Web/API/Node)
The node the view get attached to.
#### Returns
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
:::unofficial{.unofficial}
:::
#### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`open`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#open)
***
### register()
#### Call Signature
> **register**(`cb`): `void`
Defined in: [obsidian.d.ts:921](https://github.com/obsidianmd/obsidian-api/blob/HEAD/obsidian.d.ts#L921)
Registers a callback to be called when unloading
##### Parameters
###### cb
() => `any`
##### Returns
`void`
##### Inherited from
[`InfoFileView`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/).[`register`](/obsidian-typings/api/obsidian-typings/namespaces/internals/interfaces/infofileview/#register)
#### Call Signature
> **register**(`cb`): `void`
Defined in: [src/obsidian/augmentations/Components/Component.d.ts:78](https://github.com/Fevol/obsidian-typings/blob/3.7.1/src/obsidian/augmentations/Components/Component.d.ts#L78)
Registers a callback to be called when unloading.
##### Parameters
###### cb
() => `any`
The callback to be called when unloading.
##### Returns
`void`
##### Example
```ts
component.register(() => {
console.log('MyComponent unloaded');
});

InfoFileView.register


registerDomEvent<K>(el, type, callback, options?): void

Defined in: obsidian.d.ts:931

Registers an DOM event to be detached when unloading

K extends keyof WindowEventMap

Window

K

(this, ev) => any

boolean | AddEventListenerOptions

void

InfoFileView.registerDomEvent

registerDomEvent<K>(el, type, callback, options?): void

Defined in: obsidian.d.ts:936

Registers an DOM event to be detached when unloading

K extends keyof DocumentEventMap

Document

K

(this, ev) => any

boolean | AddEventListenerOptions

void

InfoFileView.registerDomEvent

registerDomEvent<K>(el, type, callback, options?): void

Defined in: obsidian.d.ts:941

Registers an DOM event to be detached when unloading

K extends keyof HTMLElementEventMap

HTMLElement

K

(this, ev) => any

boolean | AddEventListenerOptions

void

InfoFileView.registerDomEvent

registerDomEvent<K>(el, type, callback, options?): void

Defined in: src/obsidian/augmentations/Components/Component.d.ts:96

Registers an DOM event to be detached when unloading.

K extends keyof DocumentEventMap

The type of the event to register.

Document

The element to register the event on.

K

The type of the event to register.

(this, ev) => any

The callback to be called when the event is triggered.

The options for the event.

boolean | AddEventListenerOptions

void

component.registerDomEvent(document, 'click', () => {
console.log('Document clicked');
});

InfoFileView.registerDomEvent

registerDomEvent<K>(el, type, callback, options?): void

Defined in: src/obsidian/augmentations/Components/Component.d.ts:119

Registers an DOM event to be detached when unloading.

K extends keyof HTMLElementEventMap

The type of the event to register.

HTMLElement

The element to register the event on.

K

The type of the event to register.

(this, ev) => any

The callback to be called when the event is triggered.

The options for the event.

boolean | AddEventListenerOptions

void

component.registerDomEvent(document.body, 'click', () => {
console.log('Body clicked');
});

InfoFileView.registerDomEvent

registerDomEvent<K>(el, type, callback, options?): void

Defined in: src/obsidian/augmentations/Components/Component.d.ts:142

Registers an DOM event to be detached when unloading.

K extends keyof WindowEventMap

The type of the event to register.

Window

The element to register the event on.

K

The type of the event to register.

(this, ev) => any

The callback to be called when the event is triggered.

The options for the event.

boolean | AddEventListenerOptions

void

component.registerDomEvent(window, 'click', () => {
console.log('Window clicked');
});

InfoFileView.registerDomEvent


registerEvent(eventRef): void

Defined in: obsidian.d.ts:926

Registers an event to be detached when unloading

EventRef

void

InfoFileView.registerEvent

registerEvent(eventRef): void

Defined in: src/obsidian/augmentations/Components/Component.d.ts:159

Registers an event to be detached when unloading.

EventRef

The event to be registered.

void

component.registerEvent(eventRef);

InfoFileView.registerEvent


registerInterval(id): number

Defined in: obsidian.d.ts:948

Registers an interval (from setInterval) to be cancelled when unloading Use setInterval instead of setInterval to avoid TypeScript confusing between NodeJS vs Browser API

number

number

InfoFileView.registerInterval

registerInterval(id): number

Defined in: src/obsidian/augmentations/Components/Component.d.ts:175

Registers an interval (from setInterval) to be cancelled when unloading. Use setInterval instead of setInterval to avoid TypeScript confusing between NodeJS vs Browser API

number

The id of the interval to register.

number

The id of the interval.

component.registerInterval(window.setInterval(() => {
console.log('Interval');
}, 1000));

InfoFileView.registerInterval


registerScopeEvent(keymapEventHandler): void

Defined in: src/obsidian/augmentations/Components/Component.d.ts:181

KeymapEventHandler

void

InfoFileView.registerScopeEvent


removeChild<T>(component): T

Defined in: obsidian.d.ts:916

Removes a child component, unloading it

T extends Component

T

T

InfoFileView.removeChild

removeChild<T>(component): T

Defined in: src/obsidian/augmentations/Components/Component.d.ts:195

Removes a child component, unloading it.

T extends Component

The type of the component to remove.

T

The component to remove.

T

The removed component.

component.removeChild(childComponent);

InfoFileView.removeChild


renderBreadcrumbs(): void

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:154

void

InfoFileView.renderBreadcrumbs


setEphemeralState(state): void

Defined in: obsidian.d.ts:4614

unknown

void

InfoFileView.setEphemeralState

setEphemeralState(state): void

Defined in: src/obsidian/augmentations/Views/View.d.ts:223

Set the ephemeral state of the view.

unknown

The ephemeral state of the view.

void

this.setEphemeralState({ foo: 'bar' });

InfoFileView.setEphemeralState


setState(state, result): Promise<void>

Defined in: obsidian.d.ts:1774

any

ViewStateResult

Promise<void>

InfoFileView.setState

setState(state, result): Promise<void>

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:168

Set the state of the file view.

any

The state to set.

ViewStateResult

The result of the state.

Promise<void>

A promise that resolves when the state is set.

await fileView.setState({ foo: 'bar' }, { history: true });

InfoFileView.setState


syncState(e): Promise<unknown>

Defined in: src/obsidian/augmentations/Views/FileView.d.ts:174

boolean

Promise<unknown>

InfoFileView.syncState


unload(): void

Defined in: obsidian.d.ts:900

Unload this component and its children

void

InfoFileView.unload

unload(): void

Defined in: src/obsidian/augmentations/Components/Component.d.ts:211

Override this to unload your component.

void

class MyComponent extends Component {
public override onunload(): void {
console.log('MyComponent unloaded');
}
}

InfoFileView.unload


update(): void

Defined in: src/obsidian/internals/InternalPlugins/OutgoingLink/OutgoingLinkView.d.ts:16

void

updateNavButtons(): void

Defined in: src/obsidian/augmentations/Views/ItemView.d.ts:140

void

InfoFileView.updateNavButtons