Skip to content

MenubarAPI

Defined in: namespaces.ts:1478

register(options): Promise<true>

Defined in: namespaces.ts:1480

Creates an NSStatusItem for this plugin.

MenuBarRegisterOptions

Promise<true>


update(options): Promise<true>

Defined in: namespaces.ts:1482

Updates the icon and/or label.

MenuBarUpdateOptions

Promise<true>


setBadge(count): Promise<true>

Defined in: namespaces.ts:1484

Sets badge overlay count (0 clears).

number

Promise<true>


setContent(descriptor): Promise<true>

Defined in: namespaces.ts:1486

Stores a view descriptor for the popover content.

ViewDescriptor

Promise<true>


remove(): Promise<true>

Defined in: namespaces.ts:1488

Removes the NSStatusItem.

Promise<true>