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

PropertyTypeDescription
appAppReference to the app.
containerElHTMLElementContainer element for the status bar.

Methods

MethodReturnsDescription
registerStatusBarItem()HTMLElementRegister a new status bar item element.

Links to this page: