You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think Polymer should consider using the binding system as the standard way to connect functions to events, via syntax such as:
<div on-click='{{doSomething}}'></div>
This allows two things:
Assuming that the UI is bound to a ModelView-ish thing, it allows the handler of the 'do something' to be that model view, rather than bouncing through some code in the custom element which may be unrelated to the view or model.
I think Polymer should consider using the binding system as the standard way to connect functions to events, via syntax such as:
This allows two things:
I did a quick proof-of-concept of this at https://gist.github.com/peteblois/6953310
The text was updated successfully, but these errors were encountered: