Skip to content

Commit

Permalink
docs(readme): update options
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkolind committed Jul 22, 2024
1 parent 383d1d0 commit 5f3c84f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ type Options = {
/**
* Events
*/
onStart?: (event: Event) => void;
onLeave?: (event: Event) => void;
onOver?: (event: Event) => void;
onDrop?: (event: Event, dragged: HTMLElement) => void;
onStart?: EventHandler<void>;
onLeave?: EventHandler<void>;
onOver?: EventHandler<void>;
onBeforeDrop?: EventHandler<boolean>;
onDrop?: EventHandler<void>;

/**
* Specifies where a draggable can be dropped.
Expand Down

0 comments on commit 5f3c84f

Please sign in to comment.