Remove Queued Item After Confirm Dialog #1110
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I want the functionality that when a user clicks the remove button for a queued file, a JS confirmation dialog pops up where the user must click "Ok" for the file to actually be removed for the queue. I know in my code I'm passing the index of the first file in the queue, I'm not sure how to get the index of the current file that was clicked to be removed.
Code:
Hi,
You should get the loop index in the
*ngFordirective and pass it to yourconfirmDelete()callback.