Hi all, (reposting from Dart Web Development) With "attributes", we have some way to succinctly communicate to an element's users what properties they can set at the instantiation point. Why don't we have something similar for custom events that an element can fire? Something like:
<polymer-element name="my-element" attributes="height width" custom-events="open activate"> ... <my-element height="100" width="200" on-open="onOpen" on-activate="onActivate"></my-element> The way it is now, users are left to either rely on the documentation (unreliable) or hunt all fire() and asyncFire() calls in the element's code. If "custom-events" were added, it would be nice to also check, for every fire()/asyncFire() call, that the element actually declares the event being fired. I bet all this would save a lot of debugging hours for a lot of people. --Sergey Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/307303bf-2370-4cbc-9082-12fdaf27d689%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
