Sidepanel as main
i'm trying to trigger Plasmo SidePanel when user clicks on the extension icon. but i can't get it to work. any solution on ideas?
what i need is to open a side panel from right side of the screen taking the full height. how else is it possible?
14 Replies
Anyone? I'm so stuck
@lab
It'd be easier for you to implement a custom "sidepanel" via csui and inject it on clicking the extension icon
@lab i tried forking -with-sidepanel but nothing shows up. and i get no error
the sidepanel API is not what you think it is - it's the chrome's sidepanel you must click the button to see
oh. then would you please tell me a little more about your solution. i dont get it
oh, righttt. just saw that. i could spend hours and not realize that. thanks. but i still need to implement the sidepanel. and i dont see how i should do that
Gave +1 Rep to @lab (current:
#1
- 168
)Plasmo Docs
Content Scripts UI – Plasmo
How to inject your own components into an existing web page with Plasmo's Content Scripts UI features.
would you recommend a doc on how i should inject it on clicking the extension icon? i'd be so thankful. i'm quite new to this @lab
@The Deviant has reached level 2. GG!
@lab
like this?
and call the function on popup.tsx?
@lab i need help really :))
would recommend pinging him one more time 💀
and be aware that sidepanels currently only are available in chrome (i believe)