@rx-angular/cdk
Version:
@rx-angular/cdk is a Component Development Kit for ergonomic and highly performant angular applications. It helps to to build Large scale applications, UI libs, state management, rendering systems and much more. Furthermore the unique way of mixing reacti
25 lines (24 loc) • 756 B
TypeScript
import { RxZoneConfig } from './model/zone-config.types';
/**
* An object for typed zone-flags configuration.
*
* @Example
*
* create file `zone-flags.ts` parallel to your `polyfills.ts` and insert following content:
* ```typescript
* import { globalEvents, xhrEvent, zoneConfig} from '@rx-angular/cdk/zone-flags';
*
* zoneConfig.global.disable.requestAnimationFrame();
* zoneConfig.global.disable.timers();
* zoneConfig.events.disable.UNPATCHED_EVENTS([...globalEvents, ...xhrEvent]);
* ```
* In `polyfills.ts` above the zone import, import `zone-flags.ts`
*
* ```typescript
* import './zone-flags';
* // Zone JS is required by default for Angular itself.
* import 'zone.js';
* ```
*
*/
export declare const zoneConfig: RxZoneConfig;