We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This causes problems because the events aren't forwarded to the map, which makes it so listening to change can never see those events.
change
var Type = can.Map.extend({ define: { prop: { set: function(newVal){ return newVal; } get: function(lastSet){ return lastSet; }, serialize: true } } }); var t = new Type({prop: true}) var c = can.compute(function(){ return t.attr("prop"); }) t.bind("change", function(){ console.log("CHANGE EVENT"); }); t.attr("prop", false); //-> NOTHING logged c.bind("change", function(){}) t.attr("prop", true); //-> NOTHING logged t.bind("prop",function(){}) t.attr("prop", false); //-> CHANGE EVENT logged
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This causes problems because the events aren't forwarded to the map, which makes it so listening to
change
can never see those events.The text was updated successfully, but these errors were encountered: