What is 'plasmo-mount-container'?

In the plasmo with svelte example here https://github.com/PlasmoHQ/examples/blob/main/with-svelte/contents/plasmo-overlay.css there's a #plasmo-mount-container target, but it's not clear to me what that is. I am not seeing this id anywhere in the codebase, and I am not seeing it in the rendered component either? I understand that the #plasmo-shadow-container is basically a secondary wrapper inside the shadowRoot, but I am not sure what the #plasmo-mount-container is. Maybe it's just some shorthand for targeting the framework's (svelte) own top-level element / mountpoint to plasmo, but I am not sure. You don't see this in the react example here: https://github.com/PlasmoHQ/examples/blob/main/with-content-scripts-ui/contents/plasmo-overlay.css Instead here, the .hw-top class is targetted directly. Any clues?
GitHub
examples/with-svelte/contents/plasmo-overlay.css at main · PlasmoHQ...
🔰 Example projects that demonstrate how to use the Plasmo Framework and integrate with popular tools - PlasmoHQ/examples
GitHub
examples/with-content-scripts-ui/contents/plasmo-overlay.css at mai...
🔰 Example projects that demonstrate how to use the Plasmo Framework and integrate with popular tools - PlasmoHQ/examples
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?