0.5.5 • Published 2 years ago

size-drag v0.5.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

size-drag

NPM version

introduce

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

License

MIT License © 2022

0.5.5

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago