'Get current position of element in angular
I have this div which slides left and right using translate, it's height can vary according to the content i want to get it's current height when i translate.
let Divheight = parseInt(this.outerDiv.nativeElement.style.height);
if(quesDivheight>=450)
{
}
else
{
}
Using this code but getting NAN, since position and height can vary i want the end position where this div ends not the height that we set. Any solution Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

