ninegrid2 6.1444.0 → 6.1445.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.
@@ -12263,9 +12263,8 @@ class ngCellEx extends HTMLElement
12263
12263
  this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
12264
12264
 
12265
12265
  $(button).on("click", e => {
12266
- console.log(this);
12267
- console.log(button);
12268
- let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12266
+
12267
+ let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12269
12268
 
12270
12269
  if (fn) {
12271
12270
 
@@ -12259,9 +12259,8 @@ class ngCellEx extends HTMLElement
12259
12259
  this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
12260
12260
 
12261
12261
  $(button).on("click", e => {
12262
- console.log(this);
12263
- console.log(button);
12264
- let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12262
+
12263
+ let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12265
12264
 
12266
12265
  if (fn) {
12267
12266
 
@@ -186,9 +186,8 @@ export class ngCellEx extends HTMLElement
186
186
  this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
187
187
 
188
188
  $(button).on("click", e => {
189
- console.log(this);
190
- console.log(button);
191
- let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
189
+
190
+ let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
192
191
 
193
192
  if (fn) {
194
193
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1444.0",
4
+ "version": "6.1445.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -186,9 +186,8 @@ export class ngCellEx extends HTMLElement
186
186
  this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
187
187
 
188
188
  $(button).on("click", e => {
189
- console.log(this);
190
- console.log(button);
191
- let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
189
+
190
+ let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
192
191
 
193
192
  if (fn) {
194
193