Skip to content

RibbonIconRegistrarAddRibbonIconParams

Parameters for registering a ribbon icon.

Import:

import type { RibbonIconRegistrarAddRibbonIconParams } from '@mnaoumov/obsidian-lib/ribbon-icon-registrar';

Signature:

export interface RibbonIconRegistrarAddRibbonIconParams

Properties

PropertyTypeDescription
callback($event: MouseEvent) => voidCallback function for the ribbon icon to register.
iconIconNameThe icon name for the ribbon icon to register.
titlestringThe title for the ribbon icon to register.

Links to this page: