This is code inside show component.
Code: Select all
//This does not works
public ngOnInit() {
this.idle.onIdleEnd.subscribe(() => this.ref.close());
}
// This works
onClose(){
this.ref.close();
}
Code: Select all
//This does not works
public ngOnInit() {
this.idle.onIdleEnd.subscribe(() => this.ref.close());
}
// This works
onClose(){
this.ref.close();
}
Users browsing this forum: No registered users and 18 guests