.el:active{
background:red;
}
Is there a way to link the above active
state with a js event, smt like this:
$('.el').on('active', function(){
img.show();
});
My intention is to keep visible an image while el
is pressed and hide the image when the el
is released.