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

Action & User Events #16

Open
Nemikolh opened this issue Aug 3, 2015 · 0 comments
Open

Action & User Events #16

Nemikolh opened this issue Aug 3, 2015 · 0 comments

Comments

@Nemikolh
Copy link
Member

Nemikolh commented Aug 3, 2015

As suggested during the conversion on #15, we should start sketching the interface for Actions.
The first approach should offer:

  • A way to register an action handler that will be called when the associated action is emitted by any ui element from the ui. It will receive as parameters:
    • the name of the action
    • the original user event
    • the value of the data binding or None if no argument was provided to the action.

This first approach is quite simple but should help seeing the impact on the rest of the code and would also be a base for further discussion to design the action architecture.

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

1 participant