gd-bs 6.6.57 → 6.6.58
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.
- package/build/components/listGroup/item.js +6 -0
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +1 -0
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/listGroup/item.ts +7 -0
- package/src/components/listGroup/types.d.ts +1 -0
|
@@ -75,6 +75,7 @@ var ListGroupItem = /** @class */ (function (_super) {
|
|
|
75
75
|
this.el.id = tabId + "-tab";
|
|
76
76
|
this.el.setAttribute("href", "#" + tabId);
|
|
77
77
|
this.el.setAttribute("data-bs-toggle", "list");
|
|
78
|
+
this.el.setAttribute("data-tab-title", this.props.tabName);
|
|
78
79
|
this.el.setAttribute("aria-controls", tabId);
|
|
79
80
|
this.el.innerHTML = this.props.tabName;
|
|
80
81
|
// Update the tab
|
|
@@ -100,6 +101,11 @@ var ListGroupItem = /** @class */ (function (_super) {
|
|
|
100
101
|
// Execute the event
|
|
101
102
|
_this.props.onClick ? _this.props.onClick(_this.el, _this.props) : null;
|
|
102
103
|
});
|
|
104
|
+
// See if there is a render tab event
|
|
105
|
+
if (this.props.onRenderTab) {
|
|
106
|
+
// Execute the render event
|
|
107
|
+
this.props.onRenderTab(this.el, this.props);
|
|
108
|
+
}
|
|
103
109
|
// See if there is a render event
|
|
104
110
|
if (this.props.onRender) {
|
|
105
111
|
// Execute the render event
|