Just an example, sure, but if this is something Drifty’s going to be pointing to as an example, people are going to be using the same code. Why not add a few options - bidirectionality (both up and down) and horizontal vs vertical?
The only thing I’m having trouble with now is getting the status back up to the Controller (in my app). I’m trying to pass a value back up via the onDestroy, but it’s getting lost somewhere. I’m tempted to modify the card object itself (which is accessible from the Controller’s cardDestroyed function). Thoughts?
Note: I’m fairly new to directives/more advanced Angular stuff, so there might be something really dumb I’m missing.