Im building an app in dart using polymer.dart, and im realising i need some way to communicate between my Polymer elements. I've set my eyes upon event_bus and i am trying to make it work with polymer.
It seems however that when i try to put my PolymerElement class into my_lib i get the following error:
line 1 pos 6: url expected
part of my_lib;
^
I get that it seems like every PolymerElement should be self contained, but im having a hard time figuring out how i would handle communication from one PolymerElement to another.
So in short, what i would like to know is how do i put my elements in the same library so they can share an eventbus or what is the prefered way to handle communication between Polymer elements?
I can't seem to find any examples of communication between PolymerElements, so pointers to documentation or examples would be appreciated.