Edit in GitHubLog an issue

Plugin Lifecycle events

You can detect whether or not your plugin panel is visible with the help of UXP APIs

Example

Copied to your clipboard
const entrypoints = require("uxp").entrypoints;
entrypoints.setup({
panels: {
"mainPanel": {
create(rootNode) {
return new Promise(function (resolve, reject) {
console.log('Plugin panel created');
resolve();
});
},
destroy(rootNode) {
return new Promise(function (resolve, reject) {
console.log('Destroy panel');
resolve();
});
}
}
}
});
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.