RibbonIconRegistrarAddRibbonIconParams
Parameters for registering a ribbon icon.
Import:
import type { RibbonIconRegistrarAddRibbonIconParams } from 'obsidian-dev-utils/obsidian/ribbon-icon-registrar';Signature:
export interface RibbonIconRegistrarAddRibbonIconParamsProperties
| Property | Type | Description |
|---|---|---|
| icon | IconName | The icon name for the ribbon icon to register. |
| title | string | The title for the ribbon icon to register. |
Methods
| Method | Returns | Description |
|---|---|---|
| callback(this, evt) | void | Callback function for the ribbon icon to register. |