Browse Source

Trigger size check fix

Aleksandr Aleksandrov 7 years ago
parent
commit
3fd2ecea9c
2 changed files with 3 additions and 2 deletions
  1. 1 1
      package.json
  2. 2 1
      src/watch.ts

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@ex-helpers/element",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "Several element wrapper helpers",
   "scripts": {
     "build": "exb",

+ 2 - 1
src/watch.ts

@@ -65,7 +65,8 @@ const DEFAULT_OPTIONS = {
     };
     const item = this._watchSizeCollection.add({
         callback,
-        startCountdown
+        startCountdown,
+        triggerCheck
     });
     if (MutationObserver && params.legacy === false) {
         const observer = new MutationObserver(mutations => {