vue-directive: v-sizeDrag. make the element size draggable
\\ in main.ts
import size-drag/dist/index.css
import sizeDrag from 'size-drag';
app.use(sizeDrag)
\\in *.vue
\\myCallback:((el:htmlElement)=>void)|null
<div v-sizeDrag="myCallback" />
\\in style,use css to config bar size ,now only suppot px.default:4px.
--size-drag-bar: 4px
MIT License © 2022