Monitoring size of a positioned ancestor.
<div class="rel">
<vue-sizemon v-model="size" />
<div>
width={{ size.w }}<br>
height={{ size.h }}
</div>
</div>
Installation
npm i @vbarbarosh/vue-sizemon
Monitoring size of a positioned ancestor.
<div class="rel">
<vue-sizemon v-model="size" />
<div>
width={{ size.w }}<br>
height={{ size.h }}
</div>
</div>
npm i @vbarbarosh/vue-sizemon
npm i @vbarbarosh/vue-sizemon
4
1.0.0
ISC
10.8 kB
6