vue-peel
v0.1.1
Published
<div style="text-align: center; margin: auto;"> <img src="assets/vue.png" height="200" style="object-fit: contain;"> <img src="assets/peel.png" height="200" style="object-fit: contain;"> </div>
Downloads
4
Maintainers
Readme
Vue Peel
About
This is a Vue wrapper around the peel.js library originally created by Andrew Plummer in 2014.
Check out the docs at https://anatolykopyl.github.io/vue-peel
Getting Started
Installation
npm install vue-peel
Basic usage
<template>
<Peel
drag
:peel-position="{ x: 150, y: 150 }"
>
<template #top>
Top
</template>
<template #back>
Back
</template>
<template #bottom>
Bottom
</template>
</Peel>
</template>
<script setup>
import Peel from 'vue-peel'
import 'vue-peel/style.css'
</script>