ripple-js demo
You can easily find out what action was being clicked:
Click to choose an action
It is also possible to show HTML structures