You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to express my appreciation for the framework - as a frontend newbie, I find it really helpful!
I'm currently working on displaying a button component within the LinkedIn chat dialog wrapper as soon as the user opens them.
As you can see in the attached image, I want to inline a button component in the chat dialog, similar to the quick reply suggestions.
To achieve this, I've written a mutation observer to detect when the conversation dialogs appear, but I'm unsure how to use Plasmo to render my component when I receive an event in my observer.
Based on my research, it seems that a custom renderer is required.
Could you kindly advise if this is possible and if so, what is the best way to approach it? I would also appreciate an example snippet if possible.
Thank you in advance for your help, and please let me know if you need any additional information from me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
I wanted to express my appreciation for the framework - as a frontend newbie, I find it really helpful!
I'm currently working on displaying a button component within the LinkedIn chat dialog wrapper as soon as the user opens them.
As you can see in the attached image, I want to inline a button component in the chat dialog, similar to the quick reply suggestions.
To achieve this, I've written a mutation observer to detect when the conversation dialogs appear, but I'm unsure how to use Plasmo to render my component when I receive an event in my observer.
Based on my research, it seems that a custom renderer is required.
Could you kindly advise if this is possible and if so, what is the best way to approach it? I would also appreciate an example snippet if possible.
Thank you in advance for your help, and please let me know if you need any additional information from me.
Beta Was this translation helpful? Give feedback.
All reactions