Vishwas, I started learning angular from your tutorials. I always refer to your tutorials whenever I need to brush up the concepts. Thanks for the tutorial they are very useful.
@sumeennaazshaik12142 жыл бұрын
thanks man!! u made my work very easy .still toady in 2022 I found your tutorials are far better than latest version tutorials.
@sayakbanerjee9990 Жыл бұрын
If you get error saying : Parameter 'value' implicitly has an 'any' type. Use: logMessage(value: any){ console.log(value) }
@amirthak4743 Жыл бұрын
You helped me dood. Thanks!!
@timz29173 жыл бұрын
this guy has given me hope again
@tofgau6 жыл бұрын
Vishwas, your videos are really great. Thanks a lot
@geodamian4956 жыл бұрын
Great tutorial series, geat job Vishwas!
@lokmanhosen45376 жыл бұрын
Great tutorial and more great your explanation !!!
@MuhammadAhmad-rh3fm Жыл бұрын
You made it look so easy. Thank you so much
@shubhammhatre47433 жыл бұрын
don't know why but in upper version, in .ts file logMessage(value) was giving error, asking for provide type of value , so logMessage(value : any); worked for me
@ashwini023292 жыл бұрын
thnq bro... I was also stuck here !
@MuhammadUmar-gw8mv Жыл бұрын
Yes it did worked for me Thanks
@sanskratiagrawal43344 жыл бұрын
Awesome explaination sir.
@pol-dev-v5y4 жыл бұрын
Thanks, great tutorial again! Your series are perfect.
@TheGhanashyam1235 жыл бұрын
great teaching skills and rapid. Great set of tutorials
@subramanyamchapala73625 жыл бұрын
thank you very much sir. your teaching is really understandable and full pledged.
@alimedani02964 жыл бұрын
Thank you sir, for these tutorials
@geomukkath53733 жыл бұрын
I did the exact same thing but I got an error saying : Parameter 'value' implicitly has an 'any' type. So in my method definition I used the following : getValue(value: any){ console.log(value) } Now it works. I dont know why. Can someone enlighten me pls.
@arvindkumarrana23123 жыл бұрын
Because Typescript doesn't know what is the type of the value parameter that the getValue() method is getting. If you don't annotate some function argument, TypeScript assumes "any" and moves on. It is showing an error because if you look in the tsconfig.json file, 'strict' is set to true. It means strict type checking. In case you don't want to see such an error, you can set "noImplicitAny": false in the compilerOptions (in tsconfig.json) but that is not recommended because it is always useful to explicitly define the type of function arguments to avoid any issues. So since we have an input field that takes a text type value, I would suggest doing this - getValue(value: string){ console.log(value) }
@FeelGoodChronicles3 жыл бұрын
Thanks man.....Its really helpfull
@nan6shny4 жыл бұрын
Thank you for this amazing series
@sonamohialdin33762 жыл бұрын
So good tutorial thank you
@Lost1nTranslation3 жыл бұрын
Thank you!
@mohdmuzaffarahmed49234 жыл бұрын
Weel explained sir
@nitishtellakula72432 жыл бұрын
Put value : any if ur getting an error : " parameter value implicitly has any type
@kotireddy4194 жыл бұрын
Input variables can aslo access to ng model so why we used to template reference variable ?
@davinderkambojthind4 жыл бұрын
Too good sir
@damandeepsingh24604 жыл бұрын
Can we create a template reference variable dynamically? Like inside *ngFor can we create #1, #2 reference variable?
@mahendrashoor76414 жыл бұрын
Great tutorials
@MrDunatis6 жыл бұрын
is it not better to bind both text box and button, and use the values in the ts; instead of passing a reference variable? Because that way you have both values in the ts, which is better testable?
@shubhigupta69262 жыл бұрын
Error: src/app/test/test.component.ts:67:8 - error TS7006: Parameter 'value' implicitly has an 'any' type. 67 show(value){ getting this type of error in event binding, in angular tutorial 10. Plz tell me the solution.
@ghassenjemiai2 жыл бұрын
change it to value:any
@piraviperumal25445 жыл бұрын
Great tutorials!!
@sanyamkarnawat2 жыл бұрын
Parameter 'a' implicitly has an 'any' type. got this error on passing value
@bugrae93413 жыл бұрын
Easy and awesome thanks a lot :)
@prinsyadavchukti91453 жыл бұрын
How can we use the data of input textfield in all components.
@tejasd55783 жыл бұрын
Hii sir, how to print vishwas in webpage instead of console.
@sarahthomas85066 жыл бұрын
Hello i had a question, instead of using template reference variable , i have tried property binding with the "value" attribute of the input element with a class variable , and on button click i tried to log in the class variable, but it is not working. Could you please let me know where am i going wrong
@Codevolution6 жыл бұрын
You need to use two way binding and not just property binding
@sujithreddypatlolla21074 жыл бұрын
Hello codevolution I have a question what if have mutiple input fields still it works with each reference varaiable or any alternative?
@voalcalisticTanmay4 жыл бұрын
If you multiple elements and you require refer to them then you need to have unique reference variable for each of them that's it. Hope this helps. :)
@Jai_Raj_0075 жыл бұрын
Superb👍
@GeniusFromPakistan5 жыл бұрын
Btw this will not work if you use TemplateURL like people normally do this method will only work like what he is doing by calling function on the same TS page with Template on the same page
@harukogaki6 жыл бұрын
So template reference variables are another way of defining hrefs?
@nirajrewtani4 жыл бұрын
How to access multiple controls values
@Venkatasurendra4764 жыл бұрын
Hello sir instead of log into console i want to display on the browser what is the solution for this
@v.b.thorat11164 жыл бұрын
document.write():
@sid99varma4 жыл бұрын
You can do something like this inside your handleInput method- handleLog(inp){ this.greeting=inp.value; } Now you have assigned the value to greeting which was initially an empty string to the value the user entered inside the input field!
@vishalsyoutube4 жыл бұрын
Use interpolation: Declare a public variable in TS Class, public value1 = ""; Follow the syntax as is shown in the video But inside logMessage(value) method, add: this.value1 = value; And below the element, write {{value1}} It worked for me
@MZ-uv3sr3 жыл бұрын
One of the things I find confusing about Angular (and/or Typescript and Javascript) is all the symbols attached to names of things. # here. $ for observable. And why some variables end in !.
@jagi79762 жыл бұрын
Every programming language/framework is going to have their own syntactical idiosyncrasies. It’s very similar to learning grammar in school: why is it mouse and mice and not house and hice? Why they’re their there? Why do loose and lose not sound similar, but cruise and lose do? Its random stuff like that that you just have to memorize to be able to speak fluently. It’s for every programming language, and I would say JS/TypeScript is one of the ones where their syntax makes the most sense
@rituphogat49506 жыл бұрын
Can we access template reference variable without any event?
@indieNik6 жыл бұрын
Good Question! To answer your question, Yes you can access the TRVs with the ViewChild decorator. Example: import {ViewChild, ElementRef} from '@angular/core'; @ViewChild('yourInputElement') yourInputRef: ElementRef; submit() { // Triggered on some other event console.log(this.yourInputRef.nativeElement.value); }
@kesavanarayana7245 жыл бұрын
when you will make a angular project video?
@sablala31164 жыл бұрын
which version is this 8 or 5
@ricko133 жыл бұрын
gud
@RahulSingh-ex2sm5 жыл бұрын
Vishwas U r awesome! Nice content and Great Explanation throughout the series!
@jeganmuthu69625 жыл бұрын
I am getting output as undefined, any one can plz help me out
@humayunimtiaz96054 жыл бұрын
the parameter of the method i.e "value" must be the same when you call the method i.e "input.value"
@abhilashkokkonda17136 жыл бұрын
This is very similar to event binding.. Why again the same concept here in Angular?