event
You can define some callback functions in advance according to your needs, and Eagle will actively call them when events occur.
onPluginCreate(callback)
eagle.onPluginCreate((plugin) => {
console.log(plugin.manifest.name);
console.log(plugin.manifest.version);
console.log(plugin.manifest.logo);
console.log(plugin.path);
});onPluginRun(callback)
onPluginBeforeExit(callback)
onPluginShow(callback)
onPluginHide(callback)
onLibraryChanged(callback)
onThemeChanged(callback)
Last updated