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 has been archived by the owner on Mar 22, 2022. It is now read-only.
I want when attr1 and attr2 both change that the function can be invoked.
Does Watch JS support this?
The text was updated successfully, but these errors were encountered:
crypto-studyclub
changed the title
attr1 and attr2 both change thant function can be invoked
attr1 and attr2 both change that function can be invoked
Jan 24, 2015
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?
The text was updated successfully, but these errors were encountered: