Loading a web component in Dart M2 (web_ui)

Issue Through my journey of dart, I stumbled upon a “blocker” in terms of loading a component. While having my component defined as followed: <!DOCTYPE html> <element name=”x-foo” constructor=”FooComponent” extends=”button”> <template> <button type=”button” class=”btn {{classes}}”> {{text}} </button> </template> <script type=”application/dart”>

Continue reading

What is causing a NoSuchMethodErrorImplementation?

Issue I am getting the following error: Stack Trace: #0 NoSuchMethodErrorImplementation._throwNew (dart:core-patch:641:3) #1 init_autogenerated (http://127.0.0.1:3030/C:/dev/CalendarDatePicker/CalendarDatePicker/web/out/CalendarDatePicker.dart:43:26) #2 main (http://127.0.0.1:3030/C:/dev/CalendarDatePicker/CalendarDatePicker/web/out/CalendarDatePicker.html_bootstrap.dart:7:30) Here is my view code: <!DOCTYPE html> <html> <head> <meta charset=”utf-8″> <title>CalendarDatePicker</title> <link rel=”stylesheet” href=”CalendarDatePicker.css”> </head> <body> <element name=”calendar” constructor=”Calendar” extends=”div”> <template>

Continue reading