prevent-bounce

1.0.1 • Public • Published

prevent-bounce

simple prevent iOS dismiss event for web application.

Install

$ npm install prevent-bounce --save

How to Use

Browser

<script src="./prevent-bounce.js"></script>
<script>
    var preventBounce = new PreventBounce();
    preventBounce.attach();
</script>

ES6

import PreventBounce from 'prevent-bounce';

const preventBounce = new PreventBounce();
preventBounce.attach();

Method

attach(element)

attach prevent event the element. if element is blank, default attached document.

remove()

remove prevent event.

Readme

Keywords

none

Package Sidebar

Install

npm i prevent-bounce

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

26.4 kB

Total Files

15

Last publish

Collaborators

  • dev-momo