Last active
December 27, 2016 00:09
-
-
Save jsayol/09806c93df0b0f4e9e1fc84aa45ed956 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
@Directive({ | |
selector: '[ngFor][ngForIn]' | |
}) | |
export class NgForIn extends NgFor implements OnChanges { | |
@Input() ngForIn: any; | |
constructor(viewContainer: ViewContainerRef, | |
template: TemplateRef<NgForRow>, | |
differs: IterableDiffers, | |
cdr: ChangeDetectorRef) { | |
super(viewContainer, template, differs, cdr); | |
} | |
ngOnChanges(changes: SimpleChanges): void { | |
// Do something here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment