gajus / gajus/swing

Add time to card.throwOut()/ card.throwIn()

Open
#22 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.6k
Forks
246
PR merge metrics
No merged PRs in 30d

Description

Thanks for this amazing code, it work excellent on mobile devices.
How I can add time when I ThrowOut()/throwIn() a card.
I need to to make something similar to this:

``` javascript
card.throwOut(100, 500,3000);//where 3000 is the time(ms) that card will take to be in the position (100,500), like in css (transition :3s;)
```

Thank you again.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the card.throwOut() and card.throwIn() entry points in the Swing code and checking how movement timing is currently handled. Define and verify behavior for an optional duration argument, including the example's millisecond value, and confirm the card reaches the requested position over that duration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.