Skip to content

ElectronDisplayBalloonOptions

Unofficial

Options for ElectronTray.displayBalloon.

Import:

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

Signature:

export interface ElectronDisplayBalloonOptions

Properties

PropertyTypeDescription
contentstringThe content of the balloon.
icon?ElectronNativeImage | stringIcon to use when iconType is custom.
iconType?'custom' | 'error' | 'info' | 'none' | 'warning'Can be none, info, warning, error or custom.
largeIcon?booleanThe large version of the icon should be used. Maps to NIIF_LARGE_ICON.
noSound?booleanDo not play the associated sound. Maps to NIIF_NOSOUND.
respectQuietTime?booleanDo not display the balloon notification if the current user is in "quiet time". Maps to NIIF_RESPECT_QUIET_TIME.
titlestringThe title of the balloon.