I have a div with id "btn", and add two listeners to this div.
btn.addEventListener('click'){
console.log('click')
}
and
btn.addEventListener('mouseover'){
console.log('mouseover')
}
So when I turn on to chrome mobile simulator and I click on this div the result is 'click' AND 'mouseover'.
My question is how I can separate this two listeners. For example when I click on this button I want to fire just click event or just mouseover event, not both.
Thanks