1.0.4 • Published 2 years ago
sbottom-sheet v1.0.4
sbottom-sheet
Use bottom sheet with steps! 🏃♀️🏃♂️
Install
> npm install --save-dev sbottom-sheet
Usage
plugin
import SBottomSheet from 'sbottom-sheet'
Vue.use(SbottomSheet)
componenet
<template>
<div>
<button @click="showBottomSheet">show</button>
<sbottom-sheet v-model="isVisible" :threshold="30">
<p>this is contents</p>
</sbottom-sheet>
</div>
</template>
<script>
// ...
methods: {
showBottomSheet() {
this.isVisible = true
}
}
</script>
Props
write later..