<slotname="btn":reset="reset":zoomIn="zoomIn":zoomOut="zoomOut"></slot> <slot></slot>
1 change: 1 addition & 0 deletions 1 src/sketch-ruler/index.vue Original file line numberDiff line numberDiff line change @@ -202,6 +202,7 @@ const getPanOptions = (scale: number) => { startX: zoomStartX, startY: zoomStartY, smoothScroll: true, canvas: true, ...props.panzoom...
import { SketchRule } from 'vue3-sketch-ruler' /** * 全局注册自定义组件 * @param app */ export function setupCustomComponents(app: App) { // 骨架屏 app.component('GoSkeleton', GoSkeleton) // 加载 app.component('GoLoading', GoLoading) // 标尺 app.component('SketchRule', SketchRule)...
import type { App } from 'vue' import { GoSkeleton } from '@/components/GoSkeleton' import { GoLoading } from '@/components/GoLoading' import { SketchRule } from 'vue3-sketch-ruler' /** * 全局注册自定义组件 * @param app */ export function setupCustomComponents(app: App) { // ...
[![build status](https://github.com/majun2232/vue3sketchRuler/actions/workflows/node.js.yml/ badge.svg?branch=master)](https://github.com/majun2232/vue3sketchRuler/actions/workflows/node. js.yml) 简体中文 | [English](https://github.com/majun2232/vue3sketchRuler/blob/1x/README.EN.md) ...
vue3-sketch-ruler在vue3+typescript https://www.npmjs.com/package/vue3-sketch-ruler/v/1.1.5?activeTab=versions 安装后,发现 这个没有 复制完代码,准备运行,发现缺少 vue-demi 感觉vue2整的不彻底 ,没办法,yarn add vue-demi <template><SketchRule:thick="thick":scale="scale":width="1920":...
https://github.com/chuxiaoguo/vue-sketch-ruler时间轴参考此工具库实现 版权相关 开源前已对项目进行版权过滤,将个人使用范围的素材替换为公共免费的素材。 icon svg 部分来自iconpark 简介 Vue3实现的视频剪辑页面效果。 转自:https://github.com/Cc-Edit/CcClip ...
* 使拖拽画布 ([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...
-新增全画布拖拽 Expand Down 14 changes: 14 additions & 0 deletions14README.md Original file line numberDiff line numberDiff line change Expand Up@@ -75,6 +75,20 @@ import 'vue3-sketch-ruler/lib/style.css' import type { SketchRulerProps } from 'vue3-sketch-ruler' ...
import type { App } from 'vue' import { GoSkeleton } from '@/components/GoSkeleton' import { GoLoading } from '@/components/GoLoading' import { SketchRule } from 'vue3-sketch-ruler' /** * 全局注册自定义组件 * @param app */ export function setupCustomComponents(app: App) { // ...