gajus / gajus/angular-swing

I want to keep the card in the stack on swing right directions

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
180
Forks
42
PR merge metrics
No merged PRs in 30d

Description

I can detect swing right and I'm calling:

```
onThrowOut(event: any) {

if (event.throwDirection === Direction.RIGHT)
{

const targetId = Number(event.target.id);
const targetCampain = this.ads.find(ad => ad.id === targetId);
this.openCampaign(targetCampain);

}
}

```
to perform a task but i want to keep the card in the stack.
On swing left i want to remove the card.

So how can i keep the card in stack after the throwOut right is detected?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.