Utilizing the angular-hammer module in my app, I am keen on refining its performance specifically for the tap event. Given that no other gestures are required, I aim to enhance efficiency by excluding unnecessary listening functions, such as double tap. As my application heavily relies on button interactions, particularly on iOS and Android platforms, I strive for optimal implementation.
Below are the arguments I have incorporated, along with annotations detailing their significance. Is this approach considered best practice?
// Prevent propagation of additional events when clicking this element
hm-manager-options="{'touchAction':'none'}"
// Disable double tap to interpret all taps as single tap gestures
hm-recognizer-options="[
{'type':'tap','event':'tap'},
{'type':'dbltap','enabled':'false'}
]"