powerpagestoolkit 2.5.403 → 2.5.404
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/dist/DOMNodeReference.d.ts +4 -4
- package/dist/bundle.js +8 -6
- package/package.json +1 -1
|
@@ -145,18 +145,18 @@ export default class DOMNodeReference {
|
|
|
145
145
|
getLabel(): HTMLElement | null;
|
|
146
146
|
/**
|
|
147
147
|
* Adds a tooltip with specified text to the label associated with the HTML element.
|
|
148
|
-
* @param
|
|
148
|
+
* @param innerHTML - The innerHTML to append into the tooltip.
|
|
149
149
|
* @param containerStyle - Optional object with CSS Styles to apply to the info element
|
|
150
150
|
* @returns - Instance of this [provides option to method chain]
|
|
151
151
|
*/
|
|
152
|
-
addLabelTooltip(
|
|
152
|
+
addLabelTooltip(innerHTML: string, containerStyle?: Partial<CSSStyleDeclaration>): DOMNodeReference;
|
|
153
153
|
/**
|
|
154
154
|
* Adds a tooltip with the specified text to the element
|
|
155
|
-
* @param
|
|
155
|
+
* @param innerHTML - The innerHTML to append into the tooltip
|
|
156
156
|
* @param containerStyle - Optional object with CSS Styles to apply to the info element
|
|
157
157
|
* @returns - Instance of this [provides option to method chain]
|
|
158
158
|
*/
|
|
159
|
-
addTooltip(
|
|
159
|
+
addTooltip(innerHTML: string, containerStyle?: Partial<CSSStyleDeclaration>): DOMNodeReference;
|
|
160
160
|
/**
|
|
161
161
|
* Sets the inner HTML content of the HTML element.
|
|
162
162
|
* @param {string} string - The text to set as the inner HTML of the element.
|
package/dist/bundle.js
CHANGED
|
@@ -588,22 +588,24 @@ var DOMNodeReference = class _DOMNodeReference {
|
|
|
588
588
|
}
|
|
589
589
|
/**
|
|
590
590
|
* Adds a tooltip with specified text to the label associated with the HTML element.
|
|
591
|
-
* @param
|
|
591
|
+
* @param innerHTML - The innerHTML to append into the tooltip.
|
|
592
592
|
* @param containerStyle - Optional object with CSS Styles to apply to the info element
|
|
593
593
|
* @returns - Instance of this [provides option to method chain]
|
|
594
594
|
*/
|
|
595
|
-
addLabelTooltip(
|
|
596
|
-
this.getLabel()?.append(
|
|
595
|
+
addLabelTooltip(innerHTML, containerStyle) {
|
|
596
|
+
this.getLabel()?.append(
|
|
597
|
+
CreateInfoEl(innerHTML, containerStyle || void 0)
|
|
598
|
+
);
|
|
597
599
|
return this;
|
|
598
600
|
}
|
|
599
601
|
/**
|
|
600
602
|
* Adds a tooltip with the specified text to the element
|
|
601
|
-
* @param
|
|
603
|
+
* @param innerHTML - The innerHTML to append into the tooltip
|
|
602
604
|
* @param containerStyle - Optional object with CSS Styles to apply to the info element
|
|
603
605
|
* @returns - Instance of this [provides option to method chain]
|
|
604
606
|
*/
|
|
605
|
-
addTooltip(
|
|
606
|
-
this.append(CreateInfoEl(
|
|
607
|
+
addTooltip(innerHTML, containerStyle) {
|
|
608
|
+
this.append(CreateInfoEl(innerHTML, containerStyle || void 0));
|
|
607
609
|
return this;
|
|
608
610
|
}
|
|
609
611
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerpagestoolkit",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.404",
|
|
4
4
|
"description": "Reference, manipulate, and engage with Power Pages sites through the nodes in the DOM; use a variety of custom methods that allow customizing your power pages site quicker and easier. ",
|
|
5
5
|
"main": "./dist/bundle.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|