Skip to main content

plugin/lib

Classes​

ClassDescription
HeadlampThis class is a more convenient way for plugins to call registerPlugin in order to register themselves.
PluginPlugins may call Headlamp.registerPlugin(pluginId: string, pluginObj: Plugin) to register themselves.

Interfaces​

InterfaceDescription
AppMenuThe members of AppMenu should be the same as the options for the MenuItem in https://www.electronjs.org/docs/latest/api/menu-item except for the "submenu" (which is the AppMenu type) and "click" (which is not supported here, use the "url" field instead).
DesktopApiAPIs exposed to Headlamp's renderer process by the desktop preload bridge.