Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.09 KB

File metadata and controls

48 lines (35 loc) · 1.09 KB

no-zone.js

No Zone.js allows you to provide the zone.js API without actually using it if you actually don't use zone.js. (Recommended for advanced use cases only)

npm install @onespeed/no-zone.js
import '@onespeed/no-zone.js';

Example

// ... in your main.js file
import '@onespeed/no-zone.js';

// ... in your components
import {
  // ...
  ChangeDetectorRef
} from '@angular/core';
// ...
  constructor(public changeDetector: ChangeDetectorRef) {
  }

// ...
  add() {
    // ...
    this.changeDetector.detectChanges();
  }
// ...

enjoy — OneSpeed



OneSpeed

Our experience is vast with OneSpeed successfully creating and delivering solutions for companies like Bloomberg, American Airlines, and IBM. We will tailor our solutions to fit your needs. Web App Development Services, Mobile App Services, Corporate Training contact us at Patrick@OneSpeed.io