@knowark/componarkjs 1.7.8 → 1.7.10

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.
@@ -21,14 +21,14 @@ export function listen (self) {
21
21
  }
22
22
  }
23
23
 
24
- if (!handler) continue
24
+ if (!handler && !at) continue
25
25
 
26
- // const at = element.getAttribute('at')
27
26
  const catchingHandler = async function (event) {
28
27
  try {
29
28
  let receiver = this
30
29
  if (at) {
31
30
  receiver = this.querySelector(at)
31
+ if (!receiver) return
32
32
  handler = receiver[value]
33
33
  }
34
34
  return await Promise.resolve(handler.bind(receiver)(event))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowark/componarkjs",
3
- "version": "1.7.8",
3
+ "version": "1.7.10",
4
4
  "author": "Knowark",
5
5
  "description": "Knowark's Web Components Library",
6
6
  "license": "ISC",