#StackBounty: #javascript #html #angular #angular-ngmodel #angular-ngmodelchange How does ngModelChange works without providing model n…

Bounty: 50

How does ngModelChange() works?

(ngModelChange) is the @Output of ngModel directive. It fires when the model changes. You cannot use this event without ngModel directive

but I am not sure, how does(ngModelChange) it works, if I am use ngModelChange() event, even i am not providing model name to ngModel.

<input #gb type="text" pInputText class="ui-widget ui-text" **ngModel**  

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.