thanks Sander,

I did read the docs and the part I don't understand is :
"If the view DOM changes, and a new child matches the selector, the 
property will be updated."

can you elaborate on that please?

Thank you 
Reza



On Monday, August 7, 2017 at 8:42:47 PM UTC-7, Sander Elias wrote:
>
> Hi Reza,
>
> Straight from the docs:
>
>> You can use ViewChild to get the first element or the directive matching 
>> the selector from the view DOM. If the view DOM changes, and a new child 
>> matches the selector, the property will be updated.
>
>
> that means it enables you to grab an element from your view, and then call 
> upon its methods/properties. If you grab something you don't use, there 
> won't be a difference.
>
> 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.

Reply via email to