bindable.js
bindable.js copied to clipboard
only trigger computed property when all args are defined
This follows the data-binding behavior.
bindable.bind("firstName, lastName", {
to: function (firstName, lastName) {
}
});
bindable.set("firstName", "abba"); // not triggered
bindable.set("lastName", "baab"); // finally triggered