UNPKG

framer-controller

Version:

Control components and state in Framer X with reusable controllers.

9 lines (8 loc) 353 B
/** * Return a new array without the given item. * @param array * @param item */ export declare function without(array: any[], items: any | any[]): any[]; export declare const throttle: (fn: (...params: any) => any, wait: number) => () => void; export declare const modulate: (value: number, from: [number, number], to: [number, number]) => number;