Open e-belair opened 5 years ago
There is a bug in dart:html
where it can only register components in release mode (it is still based on web components v0). One of the demos does attempt to register a component but it warns about the issue. This mdc_web
Dart package is meant to be used with the component reference, which uses BEM notation, a verbose way of using the HTML class
attribute that allows better scalability of CSS styling.
There is another layer in the works to provide custom elements build on MDC Web, https://github.com/material-components/material-components-web-components. I plan on making a similar package for Dart in the future that uses it, similar to how this package uses the underlying Javascript version of MDC Web.
Hi, I get this error in console when I load the demo app: