Skip to content

Commit

Permalink
build: release v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vangleer committed Dec 13, 2023
1 parent 8daabd0 commit bca494f
Show file tree
Hide file tree
Showing 6 changed files with 308 additions and 273 deletions.
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"color": "^4.2.3",
"echarts": "^5.4.2",
"element-plus": "^2.3.8",
"es-drager": "^1.2.2",
"highlight.js": "^11.8.0",
"html2canvas": "^1.4.1",
"jspdf": "^2.5.1",
Expand Down
10 changes: 10 additions & 0 deletions lib/drager/src/use-key-event.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Ref, ExtractPropTypes } from 'vue';
import { DragerProps, DragData } from './drager';
type UtilFN = {
getBoundary: Function;
fixBoundary: Function;
checkDragerCollision: Function;
emit: Function;
};
export declare function useKeyEvent(props: ExtractPropTypes<typeof DragerProps>, dragData: Ref<DragData>, selected: Ref<boolean>, { getBoundary, fixBoundary, checkDragerCollision, emit }: UtilFN): void;
export {};
Loading

0 comments on commit bca494f

Please sign in to comment.