I got a window and would like to always show it in the upper right corner even when resizing the whole window. Currently my window works fine in the upper left corner, but I would like to show it in the upper right when I click the button, and if the user resizes the whole window, always keep it in the upper right corner, Does anyone know how to do this? Thanks in advance!
Note: - I always want the popup to be draggable.
Here's a live demo: LIVE DEMO
display: boolean = false; public positionLeft = 0; public positionTop = 30; showDialog() { this.display = true; }
source share