@syncfusion/ej2-popups
Advanced tools
Comparing version 23.1.44 to 23.1.45
@@ -94,4 +94,4 @@ { | ||
"typings": "index.d.ts", | ||
"version": "23.1.44", | ||
"version": "23.1.45", | ||
"sideEffects": false | ||
} |
@@ -44,1 +44,2 @@ /** | ||
export declare function flip(element: HTMLElement, target: HTMLElement, offsetX: number, offsetY: number, positionX: string, positionY: string, viewPortElement?: HTMLElement, axis?: CollisionCoordinates, fixedParent?: boolean): void; | ||
export declare function destroy(): void; |
@@ -426,1 +426,5 @@ /** | ||
} | ||
export function destroy() { | ||
targetContainer = null; | ||
parentDocument = null; | ||
} |
@@ -27,3 +27,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { EventHandler } from '@syncfusion/ej2-base'; | ||
import { flip, fit, isCollide } from '../common/collision'; | ||
import { flip, fit, isCollide, destroy as collisionDestroy } from '../common/collision'; | ||
/** | ||
@@ -160,2 +160,3 @@ * Specifies the offset position values. | ||
this.relateTo = null; | ||
collisionDestroy(); | ||
_super.prototype.destroy.call(this); | ||
@@ -162,0 +163,0 @@ }; |
@@ -27,3 +27,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { calculatePosition } from '../common/position'; | ||
import { isCollide, fit } from '../common/collision'; | ||
import { isCollide, fit, destroy as collisionDestroy } from '../common/collision'; | ||
var TOUCHEND_HIDE_DELAY = 1500; | ||
@@ -1287,2 +1287,3 @@ var TAPHOLD_THRESHOLD = 500; | ||
} | ||
collisionDestroy(); | ||
removeClass([this.element], ROOT); | ||
@@ -1289,0 +1290,0 @@ this.unwireEvents(this.opensOn); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3790935
54261