gd-bs 5.5.3 → 5.5.6

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.
@@ -30,6 +30,8 @@ var _Nav = /** @class */ (function (_super) {
30
30
  _this._links = null;
31
31
  // Configure the collapse
32
32
  _this.configure(itemTemplate);
33
+ // Configure the events
34
+ _this.configureEvents();
33
35
  // Configure the parent
34
36
  _this.configureParent();
35
37
  return _this;
@@ -49,8 +51,13 @@ var _Nav = /** @class */ (function (_super) {
49
51
  // Render the nav links
50
52
  this.renderItems(itemTemplate);
51
53
  };
52
- // Configures the link event
53
- _Nav.prototype.configureEvents = function (tab) {
54
+ // Configure the events
55
+ _Nav.prototype.configureEvents = function () {
56
+ // Execute the event(s)
57
+ this.props.onRendered ? this.props.onRendered(this.el) : null;
58
+ };
59
+ // Configures the tab link event
60
+ _Nav.prototype.configureTabEvents = function (tab) {
54
61
  var _this = this;
55
62
  // Add a click event
56
63
  tab.el.addEventListener("click", function () {
@@ -91,7 +98,7 @@ var _Nav = /** @class */ (function (_super) {
91
98
  // See if we are rendering tabs
92
99
  if (tabs) {
93
100
  // Configure the events
94
- this.configureEvents(link);
101
+ this.configureTabEvents(link);
95
102
  // Add the tab content
96
103
  tabs.appendChild(link.elTabContent);
97
104
  // See if the fade option is enabled
@@ -188,6 +188,8 @@ var _Navbar = /** @class */ (function (_super) {
188
188
  }
189
189
  });
190
190
  }
191
+ // Execute the event(s)
192
+ this.props.onRendered ? this.props.onRendered(this.el) : null;
191
193
  };
192
194
  // Configures search
193
195
  _Navbar.prototype.configureSearch = function () {