Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bindings to wire events to functions #324

Closed
blois opened this issue Oct 18, 2013 · 1 comment
Closed

Allow bindings to wire events to functions #324

blois opened this issue Oct 18, 2013 · 1 comment

Comments

@blois
Copy link

blois commented Oct 18, 2013

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:

I did a quick proof-of-concept of this at https://gist.github.com/peteblois/6953310

@dfreedm
Copy link
Member

dfreedm commented Nov 6, 2013

This was implemented with #328

@dfreedm dfreedm closed this as completed Nov 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants