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
The set method should support set object type value by path like bellow:
set
object
this.set({'a.b': 1, 'a.c': '2'}, {path: true}); // trigger $change:a.b $change:a.c $change:a $change $changed:a.b $changed:a.c $changed:a $changed this.get('a') // {b: 1, c: '2'}
The text was updated successfully, but these errors were encountered:
The behavior is default, pass path: true is unnecessary.
path: true
this.set({'a.b': 1, 'a.c': '2'}); // trigger $change:a.b $change:a.c $change:a $change $changed:a.b $changed:a.c $changed:a $changed this.get('a') // {b: 1, c: '2'}
Sorry, something went wrong.
6e03b37
No branches or pull requests
The
set
method should support setobject
type value by path like bellow:The text was updated successfully, but these errors were encountered: