ElectronThumbarButton
Unofficial
A button in a thumbnail toolbar (Windows only).
Import:
import type { ElectronThumbarButton } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ElectronThumbarButtonProperties
| Property | Type | Description | |
|---|---|---|---|
| flags? | string[] | Control specific states and behaviors of the button. | |
| icon | ElectronNativeImage | The icon showing in the thumbnail toolbar. | |
| tooltip? | string | The text of the button's tooltip. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| click() | void | Callback invoked when the button is clicked. |