@baklavajs/renderer-vue
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -12,2 +12,7 @@ import { ICommand } from "./command"; | ||
/** | ||
* Whether the command with the given name exists | ||
* @param name - Name of the command | ||
*/ | ||
hasCommand(name: string): boolean; | ||
/** | ||
* Register a new command | ||
@@ -14,0 +19,0 @@ * @param name - Name of the command |
import { Ref } from "vue"; | ||
import { ICommand, ICommandHandler } from "../commands"; | ||
import { ICommand } from "../commands"; | ||
export declare const START_SELECTION_BOX_COMMAND = "START_SELECTION_BOX"; | ||
export type StartSelectionBoxCommand = ICommand<void>; | ||
export declare function useSelectionBox(editorEl: Ref<HTMLElement | null>, handler: ICommandHandler): { | ||
export declare function useSelectionBox(editorEl: Ref<HTMLElement | null>): { | ||
startSelection: boolean; | ||
@@ -7,0 +7,0 @@ isSelecting: boolean; |
{ | ||
"name": "@baklavajs/renderer-vue", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Vue frontend for BaklavaJS", | ||
@@ -56,3 +56,3 @@ "author": "newcat <freddy.wagner@web.de>", | ||
}, | ||
"gitHead": "fee87f361690a34e988f638b7ec1d0cc9421c847" | ||
"gitHead": "cf7bbef4f19f989c1d2d120b1ee1973d644376f4" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
482495
12917