mount-observer 0.0.56 → 0.0.57

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/Newish.ts CHANGED
@@ -38,7 +38,7 @@ export class Newish implements EventListenerObject {
38
38
  if(initPropVals !== undefined) this.queue.push(initPropVals);
39
39
  const ce = document.createElement(itemscope);
40
40
  if('attachedCallback' in ce && typeof ce.attachedCallback === 'function'){
41
- await ce.attachedCallback(enhancedElement)
41
+ await ce.attachedCallback(enhancedElement, this.#options)
42
42
  }
43
43
  this.#ce = ce;
44
44
  const self = this;
@@ -78,7 +78,7 @@ export class Newish implements EventListenerObject {
78
78
  if(this.#alreadyAttached.has(id)) continue;
79
79
  const itemrefElement = rn.getElementById(id);
80
80
  if(itemrefElement){
81
- (<any>this.#ce).inScopeCallback(itemrefElement);
81
+ (<any>this.#ce).inScopeCallback(itemrefElement, this.#options);
82
82
  this.#alreadyAttached.add(id);
83
83
  }
84
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mount-observer",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "description": "Observe and act on css matches.",
5
5
  "main": "MountObserver.js",
6
6
  "module": "MountObserver.js",
@@ -210,7 +210,12 @@ export interface MOSE<TSynConfig=any>
210
210
 
211
211
  export interface BindishOptions{
212
212
  assigner?: Assigner,
213
- waitFor?: string,
213
+ //waitFor?: string,
214
+ /**
215
+ * If derived from a template, set to true
216
+ * to indicate that the initial
217
+ */
218
+ csr?: boolean,
214
219
  }
215
220
 
216
221
  //#endregion