Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
remove-ios-bounce
Advanced tools
Remove iOS bounce by Touch evnet listener and setting element's scorllTop&scrollLeft attribute.
Remove iOS bounce by Touch evnet listener and settting scrollTop&scrollLeft attributes.
SUGGEST: bounce-pro
Using npm:
$ npm install remove-ios-bounce
Using CDN in bower:
<script src="https://cdn.jsdelivr.net/npm/remove-ios-bounce/lib/remove-bounce.min.js"></script>
remove bounce effects on body:
import {removeBodyBounce} from 'remove-ios-bounce';
removeBodyBounce();
remove bounce effects on other elements:
import {RemoveBounce} from 'remove-ios-bounce';
/**
* new RemoveBounce(containerElement, onlyIOS)
* @param:containerElement, required
* @param:onlyIOS, Boolean, not required(defalut false). TRUE means the function will work on iOS only.
**/
// After the containerElement is rendered, perform initialization.
const bounceCtrl = new RemoveBounce(document.getElementById('container'));
// Before the containerElement is removed, clear event listener by destory function.
bounceCtrl.destory();
FAQs
Remove iOS bounce by Touch evnet listener and setting element's scorllTop&scrollLeft attribute.
We found that remove-ios-bounce 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.