Skip to content

Observing multiple properties #45

@janhancic

Description

@janhancic

This example shows observing two properties:

model.props(['question', 'answer']).on('change', function(value) {
    console.log("The answer is '" + value + "'.");
});

How would I know which one changed in this case? Is it intentional that you don't get that information?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions