UNPKG

275 BJavaScriptView Raw
1//
2//check if an attribute is a reactive attribute for the model (or its prototypical parent)
3export default function(attr) {
4 if (!this.$events.has(attr)) {
5 if (!this.parent || this.isolated) return false;
6 return this.parent.$isReactive(attr);
7 }
8 return true;
9}