Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
hammer-timejs
Advanced tools
A fast click based on the touch-action css property
Weekly downloads
Readme
Keeping visual response to under 100ms means your users will not notice the delay. The UI will feel quick and responsive giving users the impression they are doing the work instead of the application. Try the boxes below to see the response time on mobile devices.
The first box uses touch-action:none;
to remove the 300ms delay. The second box has no touch-action
property set. On touch screens you will see a noticeable difference in the response time of the background and in the outputting of the end vs click events.
The touch-action
css property is part of the Pointer Events spec http://www.w3.org/TR/pointerevents/#the-touch-action-css-property
Unfourtanitly not all common browsers support touch action yet ( caniuse ) so hammer-time works by partially polyfills this property. The only supported value is none
, manipulation
, or auto
addEventListener
touch-action
touchend
and click
eventselement.style[ touch-action ]
browsers that do not support touch action will ignore thistouch-action
and -ms-touch-action
To read more about UI response times and how this effects user experience see http://www.nngroup.com/articles/response-times-3-important-limits/
FAQs
A fast click based on the touch-action css property
The npm package hammer-timejs receives a total of 3,759 weekly downloads. As such, hammer-timejs popularity was classified as popular.
We found that hammer-timejs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.