Skip to content
This repository was archived by the owner on Mar 22, 2022. It is now read-only.
This repository was archived by the owner on Mar 22, 2022. It is now read-only.

attr1 and attr2 both change that function can be invoked #85

Description

@richaction

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?

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