0.0.2 • Published 2 years ago
move-to-container v0.0.2
Move To Container
指定一个容器,将内容包裹在容器中,并且在容器范围内可拖拽
安装
npm install move-to-container
app.component('MoveToContainer', moveToContainer)
参数
props: {
to: {
type: String,
default: 'body',
},
finish: {
type: Function,
default: (e: DragEvent | MouseEvent) => { },
},
}
使用
依赖
vue
0.0.2
2 years ago