This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I have a draggable div on screen with vertical & horizontal crosshairs over it (like a target). I'm using the cdkDragEnded to grab the div position and move the crosshairs but of course this only works after the drag has ended.
Is there a way I can keep these inline with the div as it is being moved?
<div #mobilecursor class="mobile-cursor" [style.top.px]="initialMobileCursorPosition.y" [style.left.px]="initialMobileCursorPosition.x" ( cdkDragBoundary=".game-image-holder" cdkDrag (cdkDragEnded)="dragEnded($event)"></div>
Subreddit
Post Details
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Angular2/co...