In this Project I created an embedabble javascript widget that can embedded in any web site
Embeddable Javascript Chat bot widget That Used Shadow Dom Concept
Shadow Dom in simpler words is used so that it doesnt conflict with Clients Site perfomance or Clients Site Css if we embed any javascript widget
So I will Give a Good Example where you Get a better Idea of how this might work
For Example : I have Chat Bot Software that i am offering as a service to all the clients that are paying for it . That chat bot is embeddable in any website so we use this template where we load the outer container of the chatbot inside the clients website and the contents inside is shown through an IFRAME .