gd-bs 6.2.8 → 6.2.9
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/popover/index.js +24 -0
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +6 -0
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/index.html +2 -2
- package/package.json +1 -1
- package/src/components/popover/index.ts +24 -0
- package/src/components/popover/types.d.ts +6 -0
package/dist/gd-bs.d.ts
CHANGED
|
@@ -2459,9 +2459,15 @@ declare module 'gd-bs/components/popover/types' {
|
|
|
2459
2459
|
/** Toggles an element's popover. */
|
|
2460
2460
|
toggle: () => void;
|
|
2461
2461
|
|
|
2462
|
+
/** Sets the body element of the popover. */
|
|
2463
|
+
setBody: (content: string | Element) => void;
|
|
2464
|
+
|
|
2462
2465
|
/** Sets the tippy content. */
|
|
2463
2466
|
setContent: (content: string | Element) => void;
|
|
2464
2467
|
|
|
2468
|
+
/** Sets the header element of the popover. */
|
|
2469
|
+
setHeader: (content: string | Element) => void;
|
|
2470
|
+
|
|
2465
2471
|
/** Reveals an element’s popover. */
|
|
2466
2472
|
show: () => void;
|
|
2467
2473
|
}
|