Insert CSUI when Extension Icon is clicked

I am looking for a way to insert the CSUI only when the action button is clicked. Is there a way to accomplish this? I am using Svelte components. Any help would be greatly appreciated πŸ™
1 Reply
lab
labβ€’3y ago
if you think of the CSUI shadowDOM as a pre-mount, the solution is simply having a storage state that toggle its visibility on/off. it'd be much faster compared to injecting the CS on-demand anyway.

Did you find this page helpful?