gd-bs 6.2.6 → 6.2.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.
- package/build/components/dropdown/index.js +1 -0
- package/build/components/tooltip/index.js +5 -0
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/dropdown/index.ts +1 -0
- package/src/components/tooltip/index.ts +6 -0
|
@@ -352,6 +352,11 @@ var _Tooltip = /** @class */ (function (_super) {
|
|
|
352
352
|
_Tooltip.prototype.setContent = function (content) {
|
|
353
353
|
// Set the tippy content
|
|
354
354
|
this.tippy.setContent(content);
|
|
355
|
+
// See if the button exists
|
|
356
|
+
if (this._btn && typeof (content) === "string") {
|
|
357
|
+
// Update the content
|
|
358
|
+
this._btn.el.setAttribute("aria-description", content);
|
|
359
|
+
}
|
|
355
360
|
};
|
|
356
361
|
// Shows the tooltip
|
|
357
362
|
_Tooltip.prototype.show = function () {
|