CopyPastor

Detecting plagiarism made easy.

Score: 2; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2024-09-29
by lordmairtis

Original Post

Original - Posted on 2024-09-29
by lordmairtis



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Now with Angular 18 FormControl has `events` Observable, on that you can listen to events like `PristineChangeEvent` ```typescript this.form.events.pipe(takeUntilDestroyed()).subscribe((event) => { if (event instanceof PristineChangeEvent) { console.log('form pristine change ', event.pristine); console.log(this.form.pristine); // same same } }); ```
Now with Angular 18 FormControl has `events` Observable, on that you can listen to events like `PristineChangeEvent` ```typescript this.form.events.pipe(takeUntilDestroyed()).subscribe((event) => { if (event instanceof PristineChangeEvent) { console.log('form pristine change ', event.pristine); console.log(this.form.pristine); // same same } }); ```

        
Present in both answers; Present only in the new answer; Present only in the old answer;