svelte-dnd-action
Advanced tools
Comparing version 0.9.19 to 0.9.20
@@ -43,3 +43,3 @@ { | ||
"description": "*An awesome drag and drop library for Svelte 3 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *", | ||
"version": "0.9.19", | ||
"version": "0.9.20", | ||
"repository": { | ||
@@ -46,0 +46,0 @@ "type": "git", |
@@ -238,9 +238,11 @@ # SVELTE DND ACTION [![Known Vulnerabilities](https://snyk.io/test/github/isaacHagoel/svelte-dnd-action/badge.svg?targetFile=package.json)](https://snyk.io/test/github/isaacHagoel/svelte-dnd-action?targetFile=package.json) | ||
```typescript | ||
declare type DndEvent = import("svelte-dnd-action").DndEvent; | ||
declare type Item = import('svelte-dnd-action').Item; | ||
declare type DndEvent<ItemType = Item> = import('svelte-dnd-action').DndEvent<ItemType>; | ||
declare namespace svelte.JSX { | ||
interface HTMLAttributes<T> { | ||
onconsider?: (event: CustomEvent<DndEvent> & {target: EventTarget & T}) => void; | ||
onfinalize?: (event: CustomEvent<DndEvent> & {target: EventTarget & T}) => void; | ||
} | ||
interface HTMLAttributes<T> { | ||
onconsider?: (event: CustomEvent<DndEvent<ItemType>> & { target: EventTarget & T }) => void; | ||
onfinalize?: (event: CustomEvent<DndEvent<ItemType>> & { target: EventTarget & T }) => void; | ||
} | ||
} | ||
``` | ||
@@ -247,0 +249,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
282834
324