Skip to content

Commit

Permalink
Added distance?: number to DraggableOptions interface
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbielik authored and zjffun committed Jun 18, 2020
1 parent 50ecde5 commit e06957a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ declare module '@shopify/draggable' {

interface DraggableOptions {
draggable?: string;
distance?: number;
handle?: string | NodeList | HTMLElement[] | HTMLElement | ((currentElement: HTMLElement) => HTMLElement);
delay?: number;
plugins?: Array<typeof AbstractPlugin>;
Expand Down

0 comments on commit e06957a

Please sign in to comment.