Skip to content

registerAllWindowsStatusBarItem

Shows one status-bar item in the main window and in every desktop popout, including popouts opened later, until the owning component unloads.

Import:

import { registerAllWindowsStatusBarItem } from '@mnaoumov/obsidian-lib/components/all-windows-status-bar-item-component';

Signature:

function registerAllWindowsStatusBarItem(params: RegisterAllWindowsStatusBarItemParams): AllWindowsStatusBarItemComponent

Parameters:

Parameter Type Description
params RegisterAllWindowsStatusBarItemParams The RegisterAllWindowsStatusBarItemParams. The owner must be loaded.

Returns: AllWindowsStatusBarItemComponent — The AllWindowsStatusBarItemComponent. Call its AllWindowsStatusBarItemComponent.refresh to render every item again, or remove it from the owner to stop early.


Links to this page: