Top "Angular2-changedetection" questions

How to perform change detection on div resizing

I use Bootstrap for my layout and I need to check if the automatic calculated size of my div with …

resize angular angular2-changedetection
Angular2: *ngFor does not update when array is updated

I have an array of objects (let's call it arr). In one of my component's inputs in the (change) method …

angular angular2-changedetection
How to trigger change detection in Angular2?

I'm creating a Facebook service that calls the Facebook javascript api and am wondering how to best implement change detection …

typescript angular angular2-changedetection
Trigger update of component view from service - No Provider for ChangeDetectorRef

I would like to udpate my application view, triggered by events from service. One of my services injects the ChangeDetectorRef. …

angular typescript angular2-changedetection
Refresh Header after Login in Angular2

So I have a header component that displays either the User's name or "Sign In" depending on whether they are …

angular typescript angular2-changedetection
Angular2 ngFor OnPush Change Detection with Array Mutations

I have a data table component ( angular2-data-table ) project where we changed the project from Angular's traditional change detection to …

angular angular2-changedetection
Angular 2 Component listen to change in service

I've a simple question about change detection. I have a component and a (global) service with a boolean inside. How …

angular angular2-services angular2-changedetection
Detect change in child component's variable triggered by parent angular 2

I have 2 files. app.ts and Child.ts I am sending a variable from app to child and I want …

angular eventemitter angular2-changedetection
behaviourSubject in angular2 , how it works and how to use it

I am trying to build a shared service as follow import {Injectable,EventEmitter} from 'angular2/core'; import {Subject} from 'rxjs/…

angular rxjs angular2-changedetection
How to re-trigger all pure pipes on all component tree in Angular 2

I have pure pipe TranslatePipe that translates phrases using LocaleService that has locale$: Observable<string> current locale. I …

angular angular2-changedetection angular2-pipe