Last active
February 9, 2017 09:03
-
-
Save Zizzamia/71b151e67ad133e4eccf5bde30e13ac8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, ElementRef, NgZone } from '@angular/core'; | |
export class cornetto { | |
constructor(NgZone: NgZone) { | |
this.zone = NgZone; | |
} | |
tasteIt() { | |
this.zone.run(() => { | |
console.log('zone.run'); | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment