simple prevent iOS dismiss event for web application.
$ npm install prevent-bounce --save
<script src="./prevent-bounce.js"></script>
<script>
var preventBounce = new PreventBounce();
preventBounce.attach();
</script>
import PreventBounce from 'prevent-bounce';
const preventBounce = new PreventBounce();
preventBounce.attach();
attach prevent event the element. if element is blank, default attached document
.
remove prevent event.