ahdjs 0.0.210 → 0.0.212
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/css/index.css +2 -2
- package/build/css/index.css.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/types/GuideChimp.d.ts +13 -0
- package/package.json +1 -1
|
@@ -158,6 +158,19 @@ export default class GuideChimp {
|
|
|
158
158
|
setControlPosition(controlEl: any): GuideChimp;
|
|
159
159
|
setTooltipPosition(tooltipEl: any, options?: {}): GuideChimp;
|
|
160
160
|
_tooltipShowTimer: any;
|
|
161
|
+
/**
|
|
162
|
+
* Color the tooltip caret to match the tooltip's rendered background, mirroring
|
|
163
|
+
* the email editor (where the caret takes its canvasColor). Read the inline style
|
|
164
|
+
* first so gradient strings survive, then fall back to the computed background
|
|
165
|
+
* color. The colored border side depends on which tooltip edge the caret sits on
|
|
166
|
+
* (opposite the tooltip's position). Demo and element steps share this so the
|
|
167
|
+
* caret matches the body in every branch.
|
|
168
|
+
*
|
|
169
|
+
* @param {HTMLElement} tooltipEl
|
|
170
|
+
* @param {string} position - resolved position: top | bottom | left | right
|
|
171
|
+
* @returns {this}
|
|
172
|
+
*/
|
|
173
|
+
colorTooltipCaret(tooltipEl: HTMLElement, position: string): this;
|
|
161
174
|
/**
|
|
162
175
|
* Position the tooltip caret/tail so it points at the center of the target element,
|
|
163
176
|
* regardless of how the tooltip body has been shifted or clamped within the viewport.
|