ninegrid2 6.1264.0 → 6.1266.0

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.
@@ -122280,8 +122280,11 @@ class nxButtons extends nxDiv {
122280
122280
  const btn = e.target.closest('button');
122281
122281
  if (!btn) return;
122282
122282
 
122283
- const actionName = btn.getAttribute('on-click') || btn.getAttribute('onClick') || btn.getAttribute('onclick');
122284
- console.log(actionName, this[actionName]);
122283
+ //const actionName = btn.getAttribute('on-click') || btn.getAttribute('onClick') || btn.getAttribute('onclick');
122284
+
122285
+ const actionName = btn.getAttribute('on-click');
122286
+
122287
+ console.log(btn, actionName, this[actionName]);
122285
122288
  console.log(typeof this[actionName]);
122286
122289
  if (actionName) {
122287
122290
  // 1. 먼저 엘리먼트 자체(this)에 해당 이름의 함수가 있는지 확인
@@ -122276,8 +122276,11 @@ class nxButtons extends nxDiv {
122276
122276
  const btn = e.target.closest('button');
122277
122277
  if (!btn) return;
122278
122278
 
122279
- const actionName = btn.getAttribute('on-click') || btn.getAttribute('onClick') || btn.getAttribute('onclick');
122280
- console.log(actionName, this[actionName]);
122279
+ //const actionName = btn.getAttribute('on-click') || btn.getAttribute('onClick') || btn.getAttribute('onclick');
122280
+
122281
+ const actionName = btn.getAttribute('on-click');
122282
+
122283
+ console.log(btn, actionName, this[actionName]);
122281
122284
  console.log(typeof this[actionName]);
122282
122285
  if (actionName) {
122283
122286
  // 1. 먼저 엘리먼트 자체(this)에 해당 이름의 함수가 있는지 확인
@@ -31,8 +31,11 @@ class nxButtons extends nxDiv {
31
31
  const btn = e.target.closest('button');
32
32
  if (!btn) return;
33
33
 
34
- const actionName = btn.getAttribute('on-click') || btn.getAttribute('onClick') || btn.getAttribute('onclick');
35
- console.log(actionName, this[actionName])
34
+ //const actionName = btn.getAttribute('on-click') || btn.getAttribute('onClick') || btn.getAttribute('onclick');
35
+
36
+ const actionName = btn.getAttribute('on-click');
37
+
38
+ console.log(btn, actionName, this[actionName])
36
39
  console.log(typeof this[actionName])
37
40
  if (actionName) {
38
41
  // 1. 먼저 엘리먼트 자체(this)에 해당 이름의 함수가 있는지 확인
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1264.0",
4
+ "version": "6.1266.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -31,8 +31,11 @@ class nxButtons extends nxDiv {
31
31
  const btn = e.target.closest('button');
32
32
  if (!btn) return;
33
33
 
34
- const actionName = btn.getAttribute('on-click') || btn.getAttribute('onClick') || btn.getAttribute('onclick');
35
- console.log(actionName, this[actionName])
34
+ //const actionName = btn.getAttribute('on-click') || btn.getAttribute('onClick') || btn.getAttribute('onclick');
35
+
36
+ const actionName = btn.getAttribute('on-click');
37
+
38
+ console.log(btn, actionName, this[actionName])
36
39
  console.log(typeof this[actionName])
37
40
  if (actionName) {
38
41
  // 1. 먼저 엘리먼트 자체(this)에 해당 이름의 함수가 있는지 확인