simonmon8692
simonmon8692
PD🧩 Plasmo Developers
Created by simonmon8692 on 7/17/2023 in #👟framework
Create CSUI root containers programmatically
I've read the page about the life cycle of Plasmo CSUI but I'm still not sure how I could create root containers (and render a component inside it) programmatically rather than declaratively. For my extension I want to append inline CSUI to certain DOM elements, but these are sometimes removed from the DOM and added again at certain circumstances. I'm getting messages from my BGSW which should trigger a search for a list of these target anchors, followed by rendering new CSUI where necessary. Is something like that possible?
7 replies