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

General change event #43

Open
dhritzkiv opened this issue May 1, 2015 · 2 comments
Open

General change event #43

dhritzkiv opened this issue May 1, 2015 · 2 comments

Comments

@dhritzkiv
Copy link
Member

Feature request: support a general change event when a field changes, and not just change:field.

This would match ampersand-state and ampersand-views behaviours.

Currently I do this by:

view.on('all', function(eventType) {
    if (/^change/.test(eventType)) {
        //match all change events
    }
});

which is less than ideal.

It would be nice to simply do:

view.on('change', function() {
    match all change events
});

This issue is related to #8, #20, and #42.

@countzero
Copy link

+1

@countzero
Copy link

See also #69

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