Max Hoffmann
b3e34bc5df
Typescript
2023-09-22 10:43:58 -07:00
Nguyễn Bá Hưng
d5324c42d1
Add mirror:moved event
2021-05-16 22:53:36 +07:00
JuFeng Zhang
d5e2b5482f
fix: add missing exports
2021-03-25 10:08:43 +08:00
JuFeng Zhang
b37c19b183
fix: the type of the argument of trigger method
2020-11-12 09:28:52 +08:00
Nguyễn Bá Hưng
db087270d9
Update missing events on Droppable documentation
2020-10-11 16:37:19 +07:00
Zach Ahn
689c45a6f0
Allow specifying an array of classNames
...
In order to prevent breaking changes, this adds a new method
`getClassNamesFor` while keeping the existing behavior of
`getClassNameFor` (the former returns an array, and the latter returns
the first item of the array).
There's one caveat when using this feature though. Since
`classList.contains` only accepts a single class, it's somewhat
important that the first class of each DraggableClassNames is unique.
2020-09-27 14:15:46 +07:00
JuFeng Zhang
a85f13400a
fix: does not trigger drag:start sensor event when moved during delay
2020-09-18 22:28:07 +08:00
JuFeng Zhang
9f4933d874
add a drag stopped event
2020-07-19 13:02:44 +08:00
Max Hoffmann
6bcc42e182
Merge pull request #407 from bahung1221/master
...
Add TypeScript types for SortAnimation and update correct CDN link README
2020-07-14 10:49:07 -04:00
JuFeng Zhang
5ed92b9055
Add some missing types.
...
Support set the callback function type according to the event type.
2020-07-14 21:07:36 +08:00
Nguyễn Bá Hưng
aeb0a8779d
Add TypeScript types for SortAnimation and update correct CDN link in README
2020-07-10 15:13:59 +07:00
davidbielik
e06957a6da
Added distance?: number to DraggableOptions interface
2020-06-18 09:11:06 +08:00
Josh Hunt
bd03d7f29d
Add TypeScript type definitions
2018-12-21 16:21:06 +13:00