gd-bs 6.5.5 → 6.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.
@@ -74,6 +74,11 @@ var _Card = /** @class */ (function (_super) {
74
74
  _this.props.onClick(body.props);
75
75
  });
76
76
  }
77
+ // See if there is a render event
78
+ if (this.props.onRender) {
79
+ // Call the event
80
+ this.props.onRender(this.el, body.props);
81
+ }
77
82
  };
78
83
  // Configure the header
79
84
  _Card.prototype.configureHeader = function () {
@@ -6,4 +6,4 @@ exports.HTML = "<div class=\"card\"></div>";
6
6
  // Action
7
7
  exports.HTMLAction = "<a href=\"#\" class=\"btn\"></a>";
8
8
  // Item
9
- exports.HTMLItem = "\n<div class=\"card-body\">\n <h5 class=\"card-title\"></h5>\n <h6 class=\"card-subtitle\"></h6>\n <p class=\"card-text\"></p>\n</div>".trim();
9
+ exports.HTMLItem = "\n<div class=\"card-body\">\n <div class=\"card-title h5\"></div>\n <div class=\"card-subtitle h6\"></div>\n <div class=\"card-text p\"></div>\n</div>".trim();
@@ -62,12 +62,18 @@ var _CardGroup = /** @class */ (function (_super) {
62
62
  elCol.appendChild(card.el);
63
63
  // Add the card
64
64
  this.el.appendChild(elCol);
65
+ // Call the event
66
+ this.props.onColRender ? this.props.onColRender(elCol, cards[i]) : null;
65
67
  }
66
68
  else {
67
69
  // Add the card
68
70
  this.el.appendChild(card.el);
71
+ // Call the event
72
+ this.props.onCardRender ? this.props.onCardRender(card.el, cards[i]) : null;
69
73
  }
70
74
  }
75
+ // Call the event
76
+ this.props.onRender ? this.props.onRender(this.el, this.props) : null;
71
77
  };
72
78
  return _CardGroup;
73
79
  }(base_1.Base));