1
0
Эх сурвалжийг харах

Add _x_isInit in initTree walker

Alexandre Lepretre 1 жил өмнө
parent
commit
622d2e2d6b

+ 1 - 0
packages/alpinejs/src/lifecycle.js

@@ -88,6 +88,7 @@ export function initTree(el, walker = walk, intercept = () => {}) {
 
             directives(el, el.attributes).forEach(handle => handle())
 
+            el._x_isInit = true
             el._x_ignore && skip()
         })
     })