Skip to content

MenubarAPI

Defined in: namespaces.ts:1477

register(options): Promise<true>

Defined in: namespaces.ts:1479

Creates an NSStatusItem for this plugin.

MenuBarRegisterOptions

Promise<true>


update(options): Promise<true>

Defined in: namespaces.ts:1481

Updates the icon and/or label.

MenuBarUpdateOptions

Promise<true>


setBadge(count): Promise<true>

Defined in: namespaces.ts:1483

Sets badge overlay count (0 clears).

number

Promise<true>


setContent(descriptor): Promise<true>

Defined in: namespaces.ts:1485

Stores a view descriptor for the popover content.

ViewDescriptor

Promise<true>


remove(): Promise<true>

Defined in: namespaces.ts:1487

Removes the NSStatusItem.

Promise<true>