Toggle content.tsx visiblity with the pinned extension icon
I want to be able to toggle the visibility of my content.tsx with the pinned extension icon in my chrome browser, Just like the way attio does it.

Solution:Jump to solution
GitHub
GitHub - oluwadaprof/dune: This is a plasmo extension that allows y...
This is a plasmo extension that allows you to toggle the display of the content.tsx with the extension icon - oluwadaprof/dune
4 Replies
the only way i can think about its using chrome storage to store the state (open or closed) and grab that in content.tsx
My problem is being able to track the trigger action of the extension.
@Vishal Please help.. a code snippet would be really helpful.
Solution
I was able to fix it... I'll drop a link to my repo
https://github.com/oluwadaprof/dune
GitHub
GitHub - oluwadaprof/dune: This is a plasmo extension that allows y...
This is a plasmo extension that allows you to toggle the display of the content.tsx with the extension icon - oluwadaprof/dune
Feel free to copy and star the repo 💯