@svelte-put/shortcut
Advanced tools
import type { ShortcutParameters, ShortcutAttributes } from './types'; | ||
declare global { | ||
export namespace svelte.JSX { | ||
export namespace svelteHTML { | ||
interface HTMLAttributes extends ShortcutAttributes { | ||
@@ -5,0 +5,0 @@ } |
@@ -10,3 +10,3 @@ /** | ||
export interface ShortcutAttributes { | ||
onshortcut?: (event: CustomEvent<ShortcutEventDetails>) => void; | ||
'on:shortcut'?: (event: CustomEvent<ShortcutEventDetails>) => void; | ||
} | ||
@@ -13,0 +13,0 @@ /** |
{ | ||
"name": "@svelte-put/shortcut", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Action to move node on mousedown & mousemove", | ||
@@ -34,11 +34,11 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@microsoft/api-documenter": "^7.19.24", | ||
"@microsoft/api-extractor": "^7.33.6", | ||
"@rollup/plugin-typescript": "^9.0.2", | ||
"@microsoft/api-documenter": "^7.19.27", | ||
"@microsoft/api-extractor": "^7.33.7", | ||
"@rollup/plugin-typescript": "^10.0.1", | ||
"@svelte-put/apirc": "^0.0.0", | ||
"@svelte-put/tsconfig": "^0.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"rollup": "^3.3.0", | ||
"rollup": "^3.9.0", | ||
"tslib": "^2.4.1", | ||
"typescript": "^4.9.3" | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -45,0 +45,0 @@ "scripts": { |
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
37043
-0.01%