ahdjs 0.0.202 → 0.0.204
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 +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/types/GuideChimp.d.ts +9 -0
- package/package.json +1 -1
|
@@ -158,6 +158,15 @@ export default class GuideChimp {
|
|
|
158
158
|
setControlPosition(controlEl: any): GuideChimp;
|
|
159
159
|
setTooltipPosition(tooltipEl: any, options?: {}): GuideChimp;
|
|
160
160
|
_tooltipShowTimer: any;
|
|
161
|
+
/**
|
|
162
|
+
* Position the tooltip caret/tail so it points at the center of the target element,
|
|
163
|
+
* regardless of how the tooltip body has been shifted or clamped within the viewport.
|
|
164
|
+
*
|
|
165
|
+
* @param {HTMLElement} tooltipEl
|
|
166
|
+
* @param {string} position - resolved position: top | bottom | left | right | floating
|
|
167
|
+
* @returns {this}
|
|
168
|
+
*/
|
|
169
|
+
alignTooltipCaret(tooltipEl: HTMLElement, position: string): this;
|
|
161
170
|
startPreloader(): GuideChimp;
|
|
162
171
|
stopPreloader(): GuideChimp;
|
|
163
172
|
getDefaultTmplData(): {
|