Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
alignOverlay() {
if (this.overlay) {
if (this.appendTo)
DomHandler.absolutePosition(this.overlay, this.containerViewChild.nativeElement);
else
DomHandler.relativePosition(this.overlay, this.containerViewChild.nativeElement);
}
}
alignOverlay() {
if(this.appendTo)
DomHandler.absolutePosition(this.overlay, this.inputViewChild.nativeElement);
else
DomHandler.relativePosition(this.overlay, this.inputViewChild.nativeElement);
}