How do you programatically close the popup?
I'm trying to hide/close the popup once the user has finished interacting with it. Is there a programatic way to trigger closing it?
Closest thing I've been able to find is this internal API, which doesn't seem accessible from within popup.tsx: https://github.com/yoloforks/plasmo/blob/main/cli/plasmo/src/features/manifest-factory/mv3.ts#L16
Closest thing I've been able to find is this internal API, which doesn't seem accessible from within popup.tsx: https://github.com/yoloforks/plasmo/blob/main/cli/plasmo/src/features/manifest-factory/mv3.ts#L16
GitHub
The browser extension framework. Contribute to yoloforks/plasmo development by creating an account on GitHub.