Added Statistics calculation
Statistics now show calculated values
This commit is contained in:
parent
fe87374e47
commit
fc0f69dacb
2147 changed files with 141321 additions and 39 deletions
16
node_modules/@mui/x-internals/esm/rafThrottle/rafThrottle.d.ts
generated
vendored
Normal file
16
node_modules/@mui/x-internals/esm/rafThrottle/rafThrottle.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
export interface Cancelable {
|
||||
clear(): void;
|
||||
}
|
||||
/**
|
||||
* Creates a throttled function that only invokes `fn` at most once per animation frame.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* const throttled = rafThrottle((value: number) => console.log(value));
|
||||
* window.addEventListener('scroll', (e) => throttled(e.target.scrollTop));
|
||||
* ```
|
||||
*
|
||||
* @param fn Callback function
|
||||
* @return The `requestAnimationFrame` throttled function
|
||||
*/
|
||||
export declare function rafThrottle<T extends (...args: any[]) => any>(fn: T): T & Cancelable;
|
||||
Loading…
Add table
Add a link
Reference in a new issue