@mxtommy/kip 3.0.0-alpha.18 → 3.0.0-alpha.19
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/package.json +1 -1
- package/public/main.js +3 -3
- package/public/main.js.map +1 -1
package/package.json
CHANGED
package/public/main.js
CHANGED
|
@@ -125260,17 +125260,17 @@ var WidgetFreeboardskComponent = class _WidgetFreeboardskComponent extends BaseW
|
|
|
125260
125260
|
handleIframeGesture = (event) => {
|
|
125261
125261
|
if (!event.data || !event.data.gesture)
|
|
125262
125262
|
return;
|
|
125263
|
-
if (!this.
|
|
125263
|
+
if (!this.iframe()) {
|
|
125264
125264
|
console.error("widgetHost is not available");
|
|
125265
125265
|
return;
|
|
125266
125266
|
}
|
|
125267
|
-
if (!this.
|
|
125267
|
+
if (!this.iframe().nativeElement) {
|
|
125268
125268
|
console.error("widgetHost.nativeElement is not available");
|
|
125269
125269
|
return;
|
|
125270
125270
|
}
|
|
125271
125271
|
const domEvent = new Event(event.data?.gesture, { bubbles: true, cancelable: true });
|
|
125272
125272
|
console.log("Dispatching gesture event 17: ", event.data?.gesture);
|
|
125273
|
-
this.
|
|
125273
|
+
this.iframe().nativeElement.dispatchEvent(domEvent);
|
|
125274
125274
|
};
|
|
125275
125275
|
/** Manually trigger a swipe event */
|
|
125276
125276
|
// triggerSwipe(direction: 'left' | 'right' | 'up' | 'down') {
|