<vue3-ruler-tool:value="presetLine":step-length="50":parent="true":is-scale-revise="true":visible.sync="visible"@input="input"> <div>我是内容</div> </vue3-ruler-tool> 预览地址 https://rulertool.yaolunmao.top/ 代码源于http
<vue-ruler-tool :is-scale-revise="ture" > presetLine 类型:Array 默认值:[] 接受格式:[{ type: 'l', site: 50 }, { type: 'v', site: 180 }] 预置参考线l代表水平线,v代表垂直线,site为Number类型 <vue-ruler-tool :preset-line="[{ type: 'l', site: 100 }, { type: 'v', site:...
<vue-ruler-tool :position="'fixed'" > isHotKey 类型:Boolean 默认值:true 快捷键键开关,目前仅支持快捷键R标尺显示开关 <vue-ruler-tool :is-hot-key="ture" > isScaleRevise 类型:Boolean 默认值:false 刻度修正(根据content进行刻度重置),意思就是从内容的位置开始从0计数 <vue-ruler-tool :is-scale...
<vue-ruler-tool :position="'fixed'" > isHotKey 类型:Boolean 默认值:true 快捷键键开关,目前仅支持快捷键R标尺显示开关 <vue-ruler-tool :is-hot-key="ture" > isScaleRevise 类型:Boolean 默认值:false 刻度修正(根据content进行刻度重置),意思就是从内容的位置开始从0计数 ...
Vue Ruler Tool 使用了流行的前端框架Vue.js,它以数据驱动和组件化为核心,具备良好的可维护性和扩展性。此外,这个组件还利用了CSS3和HTML5的特性,确保其在现代浏览器上的高性能运行。通过封装自定义事件,开发者可以轻松地监听并响应用户的测量操作。 主要特点 ...
<vue-ruler-tool :parent="true" > position 类型:String 默认值:relative 可能值:['absolute', 'fixed', 'relative', 'static', 'inherit'] 规定标尺工具的定位类型 <vue-ruler-tool :position="'fixed'" > isHotKey 类型:Boolean 默认值:true ...
1.vue3的eslint修复和styleLint和pretty的代码格式化,支持适应vue3中使用sketchRuler,同时改写为vue3 Composition API 的写法 2. 用typerscript进行重构,对类型进行定义,同时方便后续扩展 3.对shadow和palette参数进行对象合并计算,在以前palette的参数要么都传,要么不传,我这里改进后可以只传需要修 ...
SpringReport是一款企业级的报表系统,支持在线设计报表,并绑定动态数据源,无需写代码即可快速生成想要的报表,可以支持excel报表和word报表两种格式,同时还可以支持excel多人协同编辑 - vue3版本新增大屏设计功能 · springreport/springreport@32303f7
[掘金:2X`vue3-sketch-ruler`插件的蜕变与升级](https://juejin.cn/post/7390134326871228428) 3839 3940 ##demo 4041 example/components/user-rulerts-black.vue -188Lines changed: 0 additions & 188 deletions Load Diff This file was deleted. ...
npm install --save vue3-sketch-ruler yarn add vue3-sketch-ruler -S 引入方式 将打包后的dist包拷贝,用import导入,支持下面两种引用方式 import SketchRule from 'vue3-sketch-ruler' import 'vue3-sketch-ruler/lib/style.css' // ts需要时引入类型 import type { SketchRulerProps } from 'vue3-sketch...