LibraryInitParams
Parameters for Library.init.
These are purely cosmetic values the host plugin injects once at initialization — deliberately NOT the plugin ID itself, so the agnostic core cannot reconstruct a capability from them.
Import:
import type { LibraryInitParams } from 'obsidian-dev-utils/library';Signature:
export interface LibraryInitParamsProperties
| Property | Type | Description |
|---|---|---|
| cssClassScope | string | The per-plugin CSS class scope applied alongside the library class by addPluginCssClasses. |
| debugPrefixNamespace | string | The namespace prefix prepended to the library's debug namespaces (e.g. ${pluginId}:). |
| shouldPrintStackTrace | boolean | Whether debug logging should append a rich DevTools stack trace. |