🌈 Who is using this?avue大屏可视化工具 GoView 高效拖拽式低代码数据可视化开发平台GoView 2X 应用源码地址open a PR to add your library ;) QQ 技术交流群:贡献者最后这是个开源业余做的功能,欢迎加强该插件的小伙伴加入, 如果插件vue3-sketch-ruler对您有帮助,请给个star,您的鼓励是我最大的动力。
GoView 高效拖拽式低代码数据可视化开发平台 GoView 2X 应用源码地址 open a PR to add your library ;) QQ 技术交流群: 贡献者 这是个开源业余做的功能,欢迎加强该插件的小伙伴加入, 如果插件vue3-sketch-ruler对您有帮助,请给个star,您的鼓励是我最大的动力。
✨ feat: 新增全画布拖拽 Browse files kakajuncommittedSep 14, 2024 1 parentd48283ecommit1b7d42d Showing3 changed fileswith3 additionsand1 deletion. user-rulerts.vue utils.ts index.vue 1 change: 1 addition & 0 deletions 1 example/components/user-rulerts.vue ...
feat: 使拖拽画布 Browse files master v2.2.2 kakajun committed Sep 14, 2024 1 parent 58ca398 commit d48283e Showing 1 changed file with 1 addition and 0 deletions. Whitespace Ignore whitespace Split Unified 1 change: 1 addition & 0 deletions 1 src/sketch-ruler/index.vue Original ...
* 使拖拽画布 ([d48283e](https://github.com/kakajun/vue3-sketch-ruler/commit/d48283e243aa379e18f8943cbe3f2f444cfc8a7a)) ## 2.1.1 (2024-08-28) ### Bug Fixes * 修复[#45](https://github.com/kakajun/vue3-sketch-ruler/issues/45) ([20e0e11](https://github.com/kakajun/vue3-ske...
Original file line numberDiff line numberDiff line change @@ -1,3 +1,7 @@ ###2.2.2 发布CDN包 ###2.2.1 -新增全画布拖拽 Expand Down 14 changes: 14 additions & 0 deletions14README.md Original file line numberDiff line numberDiff line change ...
//如果为拖拽,则将当前的整个dom事件传递给movable,确保选中元素后可以立马拖拽 if (e.isDragStart) { e.inputEvent.preventDefault() console.log('dragStart', e.inputEvent) emit('dragStart', e.inputEvent) // props.moveableRef.dragStart(e.inputEvent) } let layerClass = selected.map((item) => '...
// 添加拖拽功能 let isDragging = false let startX, startY, currentX, currentY canvas.addEventListener('mousedown', (e) => { isDragging = true // 记录鼠标按下时的初始位置 startX = e.clientX - parseInt(canvas.style.left || '0', 10) startY = e.clientY - parseInt(canvas.style.top ...
bcce8f9 Commits on Aug 23, 2024 📃 docs:拖拽demo修改 kakajun committed Aug 23, 2024 fc27b52 ✨ feat:添加阴影文字 kakajun committed Aug 23, 2024 20d1be0 Commits on Aug 24, 2024 🐞 fix:改阴影 马军 committed Aug 24, 2024 d05a29e Load more commits Footer...
- [x] 支持参考线任意地方拖拽 - [x] 左上角的眼睛,点击能控制红线显影 - [x] vue2/vue3 中通用本插件 ## 未来支持的功能 - [] 加入画布鼠标拖动功能 - [] 标角支持事件 - [] 右下角有个鼠标进入缩放小功能 - [] 左上角的眼睛,点击能控制红线显影 - [] 加入单元测试功能 这是个开源业余做的...