Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Command

Hierarchy

  • Command

Index

Constructors

Properties

icon?: string

Raw SVG icon code

id?: string
label: string
locations?: CommandLocation[]
run: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

sublabel?: string
touchBarNSImage?: string

Optional Touch Bar icon ID

touchBarTitle?: string

Optional Touch Bar button label

weight?: number

Methods

Generated using TypeDoc