resizable-element
v1.0.6
Published
You can use this package to make your elements resizable
Downloads
4
Maintainers
Readme
resizable-element
You can use this package to make your elements resizable
Install
npm install resizable-element
Example
https://wkv1kf-5173.csb.app/
import createResizableElements from 'resizable-element'
// You can choose different class to make elements resizable
// like "resize-top resize-bottom resize-left resize-right"
<div class="resize-bottom resize-right"></div>
// Run function createResizableElements when the page is loaded
// Take Vue as an example
mounted() {
this.$nextTick(() => {
createResizableElements()
})
}