Skip to content

RegisterBodyClassParams

Parameters for registerBodyClass.

Import:

import type { RegisterBodyClassParams } from '@mnaoumov/obsidian-lib/components/all-windows-event-component';

Signature:

export interface RegisterBodyClassParams

Properties

PropertyTypeDescription
appAppThe Obsidian app instance.
classNamestringOne CSS class to add to each window's body. Use a plugin-specific name.
componentComponentThe component that owns the body class.

Links to this page: