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

Event binding should accept function returning Bool #1

Open
GoogleCodeExporter opened this issue Apr 20, 2015 · 2 comments
Open

Event binding should accept function returning Bool #1

GoogleCodeExporter opened this issue Apr 20, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

For a event listener function, returning false can cancel the event. This is 
useful feature for handling form submission/link clicking etc.

See http://www.w3schools.com/js/js_events.asp

So, the methods, like ClickCall, should be change to something like 
"ClickCall<T>(fn: T->Bool): JQuery". Or event simpler, "ClickCall(fn: Dynamic-
>Dynamic): JQuery".

Original issue reported on code.google.com by Andy.onthewings on 23 Mar 2010 at 9:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant