News for hackers. Stuff that matters.
Re:Show HN: A cool Drag-and-Drop implementation for Svelte by faeyanpiraat on Tuesday January 12, 2021 @09:02AM (#25746976)
I cant drag&drop, it's more like drag&hover&waitForTheAnimation&drop.
Re:Show HN: A cool Drag-and-Drop implementation for Svelte by isaac-hagoel on Tuesday January 12, 2021 @04:59PM (#25754495)
You can control the duration of the animation via the `flipDurationMs` option or turn the animation off. It is also possible to drop to the new position before the animation finished (but after it started).
Re:Show HN: A cool Drag-and-Drop implementation for Svelte by wirahx on Tuesday January 12, 2021 @12:44PM (#25750393)
the code is readable enough that you can just change the animation delay ;)