PD
🧩 Plasmo DevelopersMlgChloe
How can I open the side panel programmatically?
I am interested in opening the side panel programmatically by messaging the background script from the content script. However, I am not seeing any documentation on how to do that through Plasmo. I see the Chrome API has
chrome.sidePanel.open({ windowId: tab.windowId });
(https://developer.chrome.com/docs/extensions/reference/api/sidePanel#user-interaction) however, this doesn't work which I am guessing because Plasmo handles the extension.
Any help is appreciated! :)Chrome for Developers
chrome.sidePanel  | API  | Chrome for Developers
2.1KMembers
View on DiscordWant results from more Discord servers?
More Posts@Pallas#2819 I keep getting this error@Pallas I keep getting this error when I run `pnpm build`:
"🟣 Plasmo v0.84.2
🔴 The Browser Extensibutton click inside CSUI closes the CSUIWhen I click on a button inside the injected CSUI, the whole component is closing. I am using a useebackground errorIm using the with background example, I don't see any console log on the service worker.
How can I anyone got any good example of CSUI lifecycle?I have been going through the official docs back and forth but still having tough time to fully gras