Skip to content

Conversation

@theoephraim
Copy link

Allows you to set an array of properties to exclude from tracking.

This is useful if you can't always add trackit_silent when setting things.

I'm using this to tell trackit to ignore changes on computed fields. You could also use this to tell trackit to ignore changes on nested models.

Usage:

...
initialize: function() {
  this.startTracking({ignore: ['dontTrackMe', 'nestedModel', 'computedProperty']});
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant