vue-draggable-resizable-ts
Install and basic usage
738
2
| Install | |
|---|---|
npm install vue-draggable-resizable-ts |
|
| Latest Version: | 0.1.3 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Aug 13, 2021 |
| Links: | GitHub · npm |
Maintainer: jackietang
Vue3 + typescript Component for draggable and resizable elements, with no dependencies.
Install and basic usage
$ npm install --save vue-draggable-resizable-ts
Register the component
import { createApp } from 'vue'
import App from './App.vue'
import vueDraggableResizableTs from 'vue-draggable-resizable-ts'
import 'vue-draggable-resizable-ts/dist/VueDraggableResizableTs.css'
const app = createApp(App)
app.component('vue-draggable-resizable-ts', vueDraggableResizableTs)
app.mount('#app')
<vue-draggable-resizable-ts style="background-color:green">
test
</vue-draggable-resizable-ts>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.3 | ^3.0.0 | MIT | |
| 0.1.2 | ^3.0.0 | MIT |