UNPKG

@nativescript-community/ui-persistent-bottomsheet

Version:

NativeScript plugin that allows you to easily add a persistent bottomsheet to your projects.

19 lines (18 loc) 467 B
export interface Velocity { x: number; y: number; } export declare class VelocityTracker { private samples; private vx; private vy; private maxAgeMs; private maxVelocity; static obtain(): VelocityTracker; recycle(): void; addMovement(x: number, y: number, time?: number): void; computeCurrentVelocity(units?: number, maxVelocity?: number): void; getXVelocity(): number; getYVelocity(): number; private clamp; }