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
package/package.json
CHANGED
|
@@ -338,6 +338,12 @@ class _Tooltip extends Base<ITooltipProps> {
|
|
|
338
338
|
setContent(content: string | Element) {
|
|
339
339
|
// Set the tippy content
|
|
340
340
|
this.tippy.setContent(content);
|
|
341
|
+
|
|
342
|
+
// See if the button exists
|
|
343
|
+
if (this._btn && typeof (content) === "string") {
|
|
344
|
+
// Update the content
|
|
345
|
+
this._btn.el.setAttribute("aria-description", content);
|
|
346
|
+
}
|
|
341
347
|
}
|
|
342
348
|
|
|
343
349
|
// Shows the tooltip
|