Skip to content

StatusBar

Unofficial

The status bar displayed at the bottom of the application window.

Import:

import type { StatusBar } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface StatusBar

Constructor

new StatusBar(app: App, containerEl: HTMLElement)

Constructor.

To get the constructor instance, use getStatusBarConstructor from obsidian-typings/implementations.

Properties

Property Type Description
app App Reference to the app.
containerEl HTMLElement Container element for the status bar.

Methods

Method Returns Description
registerStatusBarItem() HTMLElement Register a new status bar item element.

Links to this page: