Hi Sander,
I would like to understand what happens if you use a bind with
addEventListner:
@ViewChild('div') test:ElementRef;
constructor() {}
ngAfterViewInit(){
this.test.nativeElement.addEventListener('click', ()=>{});
in this case, the change of view eliminates the div element, but the bind?
I have to destroy it in ngdestroy? Also I would like to understand if there
is a way to see the bind that I left active. If I change the view lose
emento dom so I can not see if I left active bind. I hope I explained
Il giorno lunedì 6 febbraio 2017 12:44:59 UTC+1, Sander Elias ha scritto:
>
> Hi jsuser,
>
> Yes, it is. As long as you are using AngularJS to create the bindings.
>
> Regards
> Sander
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.