Extending native HTML element in Angular 6
问题 I have recently created a native web component which is working well in all browsers. I moved this web component into an Angular 6 application and all works as expected. I then tried to extend a native HTML element which again worked perfectly except when I brought it into my Angular 6 application. Using the examples from Mozilla I will try and illustrate my issue. Using the following trying to extend a native 'p' element: // Create a class for the element class WordCount extends