This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Closed
Description
<element>
<input/>
</element>
document.addEventListener('click', click, true);
document.addEventListener('touchend', touchend, true);
element.addEventListener('mousedown', mousedown, true);
element.addEventListener('touchstart', touchstart, true);
element.addEventListener('blur', blur, true);
inputElement.addEventListener('focus', focus);
mouse click
["mousedown","click","focus"]
touch without ngTouch
["touchstart","touchend","mousedown","click","focus"]
touch with ngTouch. Incorrect order!
["touchstart","touchend","mousedown","focus","click","blur"]