Property binding in Angular 2

  Рет қаралды 204,360

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 36
@adminssmoil6211
@adminssmoil6211 5 жыл бұрын
Author, Your courses are very interesting and you are the best teacher! thank you !
@na_you_mess_am
@na_you_mess_am 7 жыл бұрын
your a really great teacher and patient I love your videos
@mdwazid4806
@mdwazid4806 7 жыл бұрын
Hi Sir, really its a very very good video clip for angula2 b`coz your way of teaching and English pronunciation is very good please provide this type video sir. I searched lots video not like that thank You sir
@squashtomato
@squashtomato 7 жыл бұрын
Thank you very Much. When I have my laptop I shall try it out :D
@V1kToo
@V1kToo 6 жыл бұрын
brilliantly explained
@RachitJain4U
@RachitJain4U 5 жыл бұрын
Awesome :) Thanks :)
@AdebayoAdegbemboAsa
@AdebayoAdegbemboAsa 5 жыл бұрын
Thank you so so much!!!
@anu1708
@anu1708 3 жыл бұрын
Sir as in my-app The sentence Loading AppComponent content here.. Can we set timing like till what time it should display.
@premkagrani154
@premkagrani154 7 жыл бұрын
Hello Sir, Can you please explain the point of Sanitizing the content which you have demonstrated in the end in this video. I googled Sanitized but was unable to understand the real meaning of it in angular. Any help will be appreciated. Thanks
@MrWiseCommentator
@MrWiseCommentator 7 жыл бұрын
You can find more information on angular official documentation. angular.io/guide/security
@puttaarunkumar919
@puttaarunkumar919 7 жыл бұрын
At instant 5:46 their should not be quotes when you are using interpolation.
@AdvikaSamantaray
@AdvikaSamantaray 6 жыл бұрын
I thought the same. Then i tried by removing quotes and it still didn't work, where as property binding worked correctly. So I guess the point is right.
@faizankhan-eq7ev
@faizankhan-eq7ev 7 жыл бұрын
Using square brackets [propertyName], you are setting property of that HTML tag, using interpolation simply on an attribute, attribute={{value}}, you are setting value of an attribute of that tag , not the property , most of the attributes have equivalent property name but some don't
@shaiksaidavali7279
@shaiksaidavali7279 7 жыл бұрын
What is it about "innerHtml" property .was it work only in angular JS or without any JS like
@pradeeshbm5558
@pradeeshbm5558 7 жыл бұрын
Need some more explanation for interpolation and property binding. I really didn't understand the main difference (When to use).
@raqibul1000
@raqibul1000 7 жыл бұрын
Thanks a Billions.
@taherhendawi8874
@taherhendawi8874 7 жыл бұрын
Great job thnx a lot ! i didnt understand the last point.. i have not noticed any sanitize !!??
@Devilsnightforlife
@Devilsnightforlife 7 жыл бұрын
He created a string which contained javascript tags with an alert method. If he just displayed the string in html, like if he didn't bind the string but just wrote it in the html, then the browser would interpret that there was a script in the string and would then attempt to run it, displaying an alert with the word "hacked". This could lead to cross-site scripting attacks. However, because both interpolation and property binding sanitizes the string, it ensures that the html won't read the malicious script in the string as javascript but instead interpret the whole thing as html. The property binding removes potentially dangerous tags, such as the tags, and interpolation escapes the string while keeping all of its content intact.
@taherhendawi8874
@taherhendawi8874 7 жыл бұрын
Thor Klauson thnx a lot :)
@naodagere8210
@naodagere8210 4 жыл бұрын
Thank you Sir
@vishakhatomar8416
@vishakhatomar8416 7 жыл бұрын
i am getting this error for both span and div . "Can't bind to 'innerhtml' since it isn't a known property of 'div'." Due to this page is not loading.
@srinivasrapaka4729
@srinivasrapaka4729 7 жыл бұрын
write innerHtml not innerhtml
@RachitJain4U
@RachitJain4U 7 жыл бұрын
Thank You Sir :)
@johnny_rain3226
@johnny_rain3226 7 жыл бұрын
Thank you
@choudharyrahul722
@choudharyrahul722 6 жыл бұрын
is getting rendered as .. The innerHtml is not getting rendered.
@harshshrivastava2620
@harshshrivastava2620 6 жыл бұрын
change the spelling to [innerHtml] ...:)..hope it works..its working fine for me.
@semikolon4229
@semikolon4229 7 жыл бұрын
thanks, man
@johannjust4723
@johannjust4723 6 жыл бұрын
nice job =)
@NKSazzie
@NKSazzie 7 жыл бұрын
Hii, I tried this ( isDisabled = false; ) without defining the type of isDisabled as boolean in app.component.ts. But still this is rendering fine . I can't get why this behaviour is happening. It would be great if you include a tutorial specific to typescript.
@nageshsrinivas8045
@nageshsrinivas8045 6 жыл бұрын
since typescript compiles to java script even java script code is also treated as valid typescript.hence when you assign the value false to isDisabled it becomes a boolean as per java script rules.This scould be a reason why its working fine.
@varunbabu008
@varunbabu008 7 жыл бұрын
@Kudvenkat Lengend !
@nandhinikumar4933
@nandhinikumar4933 6 жыл бұрын
good tutorial
@WakefieldSeldon
@WakefieldSeldon 7 жыл бұрын
Typescript and Angular seem so meaningless to me. With ES6 and ES7 you can do the same things cleaner and faster.
@utkarshraj3822
@utkarshraj3822 5 жыл бұрын
That why Angular is not for you
@vignesh739
@vignesh739 3 жыл бұрын
என்னா மனுசன்யா🙏🙏🙏
html attribute vs dom property
5:08
kudvenkat
Рет қаралды 185 М.
Angular 2 Components
9:17
kudvenkat
Рет қаралды 373 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Two way data binding in angular 2
7:54
kudvenkat
Рет қаралды 163 М.
How To Handle Permissions Like A Senior Dev
36:39
Web Dev Simplified
Рет қаралды 314 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 222 М.
Angular Tutorial - 6 - Property Binding
7:26
Codevolution
Рет қаралды 627 М.
Мастер и Мандарины - Уральские Пельмени
1:34:39
Уральские Пельмени
Рет қаралды 1,2 МЛН
Styling angular 2 components
11:18
kudvenkat
Рет қаралды 197 М.
Angular2 Event Binding
9:51
kudvenkat
Рет қаралды 156 М.