Skip to content

ElectronThumbarButton

Unofficial

A button in a thumbnail toolbar (Windows only).

Import:

import type { ElectronThumbarButton } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronThumbarButton

Properties

PropertyTypeDescription
flags?string[]Control specific states and behaviors of the button.
iconElectronNativeImageThe icon showing in the thumbnail toolbar.
tooltip?stringThe text of the button's tooltip.

Methods

MethodReturnsDescription
click()voidCallback invoked when the button is clicked.