Skip to content

Commit

Permalink
v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TahaSh committed Jun 29, 2024
1 parent 2d4c1d3 commit 127b8ca
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 197 deletions.
8 changes: 7 additions & 1 deletion dist/veloxi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ declare type Direction = 'up' | 'down' | 'left' | 'right';

declare type Direction_2 = 'up' | 'down' | 'left' | 'right';

declare function distanceBetweenTwoPoints(pointA: Point, pointB: Point): number;

declare class DragEvent_2 {
props: {
view: View;
Expand All @@ -248,6 +250,7 @@ declare class DragEvent_2 {
y: number;
width: number;
height: number;
distance: number;
isDragging: boolean;
target: EventTarget | null;
directions: Array<Direction>;
Expand All @@ -262,6 +265,7 @@ declare class DragEvent_2 {
directions: Array<Direction>;
width: number;
height: number;
distance: number;
constructor(props: {
view: View;
previousX: number;
Expand All @@ -270,6 +274,7 @@ declare class DragEvent_2 {
y: number;
width: number;
height: number;
distance: number;
isDragging: boolean;
target: EventTarget | null;
directions: Array<Direction>;
Expand Down Expand Up @@ -735,7 +740,8 @@ declare namespace Utils {
valueAtPercentage,
remap,
pointToViewProgress,
randomNumber
randomNumber,
distanceBetweenTwoPoints
}
}
export { Utils }
Expand Down
Loading

0 comments on commit 127b8ca

Please sign in to comment.