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.
@@ -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(): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ahdjs",
3
- "version": "0.0.202",
3
+ "version": "0.0.204",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/types/index.d.ts",