Including the CUSTOM_ELEMENTS_SCHEMA in the module allows the use of the web components in the HTML markup without the compiler producing errors
- Defines a schema that allows an NgModule to contain the following:
-
- Non-Angular elements named with dash case (
-
).
- Non-Angular elements named with dash case (
-
- Element properties named with dash case (
-
).
- Element properties named with dash case (
- Dash case is the naming convention for custom elements.