RegisterStyleParams
Parameters for registerStyle.
Import:
import type { RegisterStyleParams } from '@mnaoumov/obsidian-lib/components/style-sheet-component';Signature:
export interface RegisterStyleParams extends StyleSheetComponentConstructorParamsExtends: StyleSheetComponentConstructorParams
Properties
| Property | Type | Description |
|---|---|---|
| app | App | The Obsidian app instance. (Inherited from StyleSheetComponentConstructorParams) |
| component | Component | The component that owns the stylesheet: the stylesheet is removed when it unloads. |
| css | string | The CSS to attach. (Inherited from StyleSheetComponentConstructorParams) |
Links to this page: