RibbonIconRegistrarAddRibbonIconParams
Parameters for registering a ribbon icon.
Import:
import type { RibbonIconRegistrarAddRibbonIconParams } from '@mnaoumov/obsidian-lib/ribbon-icon-registrar';Signature:
export interface RibbonIconRegistrarAddRibbonIconParamsProperties
| Property | Type | Description |
|---|---|---|
| callback | ($event: MouseEvent) => void | Callback function for the ribbon icon to register. |
| icon | IconName | The icon name for the ribbon icon to register. |
| title | string | The title for the ribbon icon to register. |
Links to this page: