In the process of creating the application, I configured it, so when you hold down the "Control" key and click on the flag, it changes to "delete" (x), and not to "add" (✓).
I can add a class to my element when keydown happens and delete it when keyup happens. It also works for me on click, however the problem that I am facing is that I want to show the delete / delete cursor.
I know that we have default icons for many things, including adding anything, but I can not find anything to delete / delete. Does anyone have a valid deletion display method other than creating their own badge? I would like to avoid this, as each browser / OS has different icons. Thus, in addition to creating my own icon, it seems that my choice is “without drops”?
Is there something that I am missing, I hope someone has a better way to handle this than me, which would work with chrome / IE / FF / safari?
https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
.add-item { cursor: copy; }
.remove-item { cursor: ????; }
Vince source
share