pawajs 1.5.6 → 1.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -961,7 +961,7 @@ const component = (el, resume = false, attr, notRender, stopResume) => {
961
961
  trackElement._stateContext=el._stateContext
962
962
  addLazyComponentElement(trackElement,()=>resumer.resume_component?.(el, attr, setStateContext, mapsPlugins, formerStateContext, pawaContext, stateWatch, { comment, endComment, name, serialized, id, children }))
963
963
  if (lazyComponentElement.has(name.toUpperCase())) {
964
- createIntersectionObserver(trackElement,el)
964
+ triggerLazyLoad(trackElement.tagName)
965
965
  }
966
966
  }else{
967
967
  resumer.resume_component?.(el, attr, setStateContext, mapsPlugins, formerStateContext, pawaContext, stateWatch, { comment, endComment, name, serialized, id, children })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "type":"module",
5
5
  "description": "pawajs library (reactive web runtime) for easily building web ui, enhancing html element, micro frontend etc ",
6
6
  "main": "index.js",
package/pawaElement.js CHANGED
@@ -54,9 +54,8 @@ export class PawaElement {
54
54
  if (lazyComponents.has(splitAndAdd(this._el.tagName))) {
55
55
  if(components.has(splitAndAdd(this._el.tagName))) return
56
56
  this._lazy=true
57
- if (!lazyComponentElement.has(splitAndAdd(this._el.tagName))) {
58
57
  triggerLazyLoad(splitAndAdd(this._el.tagName))
59
- }
58
+
60
59
  }
61
60
  }
62
61
  safeEval(context,expression,directive,resolve=false){