@studiometa/js-toolkit
Version:
A set of useful little bits of JavaScript to boost your project! 🚀
72 lines (71 loc) • 3 kB
TypeScript
export { noopValue as easeLinear } from '../noop.js';
/**
* Ease in quad.
*
* @param progress Progress value betwen `0` and `1`.
* @return Eased value between `0` and `1`.
* @link https://js-toolkit.studiometa.dev/utils/math/ease.html
*/
export declare function easeInQuad(progress: number): number;
export declare const easeOutQuad: import("./createEases.js").EasingFunction;
export declare const easeInOutQuad: import("./createEases.js").EasingFunction;
/**
* Ease in cubic.
*
* @param progress Progress value betwen `0` and `1`.
* @return Eased value between `0` and `1`.
* @link https://js-toolkit.studiometa.dev/utils/math/ease.html
*/
export declare function easeInCubic(progress: number): number;
export declare const easeOutCubic: import("./createEases.js").EasingFunction;
export declare const easeInOutCubic: import("./createEases.js").EasingFunction;
/**
* Ease in quart.
*
* @param progress Progress value betwen `0` and `1`.
* @return Eased value between `0` and `1`.
* @link https://js-toolkit.studiometa.dev/utils/math/ease.html
*/
export declare function easeInQuart(progress: number): number;
export declare const easeOutQuart: import("./createEases.js").EasingFunction;
export declare const easeInOutQuart: import("./createEases.js").EasingFunction;
/**
* Ease in quint.
*
* @param progress Progress value betwen `0` and `1`.
* @return Eased value between `0` and `1`.
* @link https://js-toolkit.studiometa.dev/utils/math/ease.html
*/
export declare function easeInQuint(progress: number): number;
export declare const easeOutQuint: import("./createEases.js").EasingFunction;
export declare const easeInOutQuint: import("./createEases.js").EasingFunction;
/**
* Ease in sine.
*
* @param progress Progress value betwen `0` and `1`.
* @return Eased value between `0` and `1`.
* @link https://js-toolkit.studiometa.dev/utils/math/ease.html
*/
export declare function easeInSine(progress: number): number;
export declare const easeOutSine: import("./createEases.js").EasingFunction;
export declare const easeInOutSine: import("./createEases.js").EasingFunction;
/**
* Ease in circ.
*
* @param progress Progress value betwen `0` and `1`.
* @return Eased value between `0` and `1`.
* @link https://js-toolkit.studiometa.dev/utils/math/ease.html
*/
export declare function easeInCirc(progress: number): number;
export declare const easeOutCirc: import("./createEases.js").EasingFunction;
export declare const easeInOutCirc: import("./createEases.js").EasingFunction;
/**
* Ease in exponential.
*
* @param progress Progress value betwen `0` and `1`.
* @return Eased value between `0` and `1`.
* @link https://js-toolkit.studiometa.dev/utils/math/ease.html
*/
export declare function easeInExpo(progress: number): number;
export declare const easeOutExpo: import("./createEases.js").EasingFunction;
export declare const easeInOutExpo: import("./createEases.js").EasingFunction;