Skip to content

Commit

Permalink
updating interface to include destroyCard function
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparkomatic committed Jun 6, 2017
1 parent 64a78a7 commit 0451f4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/swing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ export interface Stack {
*/
getCard(element: HTMLElement): Card;

/**
*
*@param {Card} card
*/
destroyCard(card: Card): void;

on(eventName: ThrowEventName, callabck: (event: ThrowEvent) => void): void;
on(eventName: DragEventName, callabck: (event: DragEvent) => void): void;
}
Expand Down

0 comments on commit 0451f4e

Please sign in to comment.