diff --git a/src/index.js b/src/index.js index fda8e55..6931504 100644 --- a/src/index.js +++ b/src/index.js @@ -57,7 +57,7 @@ export class Component extends HTMLElement { this[__props__].forEach((options, prop) => { list.push(options.attrName) }) - return list + return list.concat(this.watches || []) } static parseAnim() {