You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2022. It is now read-only.
Is this feature in Watch JS?
for example:
var a = {
attr1: a,
attr2: b
}
watch(a, ['attr1', 'attr2'], function(){
})
a.attr1 = aa;
a.attr2 = bb;
I want when attr1 and attr2 both change that the function can be invoked.
Does Watch JS support this?