New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

remove-ios-bounce

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remove-ios-bounce

Remove iOS bounce by Touch evnet listener and setting element's scorllTop/scrollLeft attribute.

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

clear-bounce

Remove iOS bounce by Touch evnet listener and css-Translate.

Installing

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>

Example

import {RemoveBounce} from 'remove-ios-bounce';

/**
 * new ClearBounce(containerElement, onlyIOS)
 * @param:containerElement, required
 * @param:onlyIOS, Boolean, not required(defalut false). TRUE means the function will work on iOS only.
 **/

const bounceCtrl = new RemoveBounce( document.getElementById('container'));

// remove event listener by destory funciton
bounceCtrl.destory();
import {removeBodyBounce} from 'remove-ios-bounce';
/**
 * Use this function to remove "bounce" effects on body
 **/

Keywords

FAQs

Package last updated on 09 Dec 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc