There is a guide on how to create Dart web-ui custom element in Dart code. There is also sample code for this technique
Is there any example on how to create a Dart Polymer custom element from Dart code?
There is an issue saying that a custom element cannot be created using new Element.html()
. But in web-ui there was no need to use new Element.html()
at all. Even though web-ui required writing a few lines of code, but at least it worked. Is there a similar technique for creating Dart Polymer elements from Dart code?