attachShadow() is the standard way to encapsulate styles and markup in Web Components.
Lines: 0 | Characters: 0