0.1.1 • Published 4 years ago

freeze-dom v0.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

for what

"description": "this pulugins can freeze dom,if you want to show some mask, and the mask can scroll ,but you don't want another dom scroll, so you can use it to freeze another dom ,when you close your mask ,the freeze dom also can restored to their original",

how to use

1.target dom:
<div class="inner-conti" v-show="showToast" v-frezzDom:conti></div>

2. want to freeze dom id: v-frezzDom:XX
XX is want to freeze dom id just like :
<!-- 当toast展示的时候,禁止id为'conti'的dom元素滚动 -->
<div id='conti'>
    <div class="inner-conti" v-show="showToast" v-frezzDom:conti></div>
</div>

3.how to use import 'freezeDom' from 'freeze-dom' Vue.use(freezeDom)