UNPKG

@siemens/ngx-datatable

Version:

ngx-datatable is an Angular table grid component for presenting large and complex data.

18 lines (17 loc) 465 B
/** * Throttle a function */ export declare const throttle: (func: any, wait: number, options?: any) => (...argsNew: any[]) => any; /** * Throttle decorator * * class MyClass { * throttleable(10) * myFn() { ... } * } */ export declare const throttleable: (duration: number, options?: any) => (target: any, key: PropertyKey, descriptor: PropertyDescriptor) => { configurable: boolean; enumerable: boolean | undefined; get: () => any; };