Angular 9 Tutorial For Beginners #20 - Attribute Binding

Angular 9 Tutorial For Beginners #20 - Attribute Binding

ARCTutorials

4 года назад

15,738 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ArghyasTravheel
@ArghyasTravheel - 02.02.2022 14:45

How is data transfered in angular? Please answer this question

Ответить
@tanusreehalder7169
@tanusreehalder7169 - 20.08.2021 23:47

Can you please make one video to explain what is the need of custom attribute with real time example, why we will use attribute binding ? And it will be helpful if you add that video link in the description or pinned comment of this video. I saw that, many of the viewer have this same question.

Thanks Sridhar for making tutorials. Appreciate your effort.

Ответить
@rajnish1002
@rajnish1002 - 13.01.2021 13:59

👍🏻

Ответить
@123drama2
@123drama2 - 17.12.2020 19:14

Nice class, but why bother create a new attribute when it doesnt change anything, it doesnt link with anything, what is the use

Ответить
@pratibhatomar9230
@pratibhatomar9230 - 09.11.2020 14:40

Hey., I have a question. What is the use of attribute binding. I understood how to use but when is this required? When is this used?

Ответить
@bandbaaza
@bandbaaza - 15.10.2020 14:09

HI Sridhar, can you share notes and git repo path

Ответить
@lkyug
@lkyug - 24.08.2020 04:23

what is use of attribute binding

Ответить
@paritalaramakrishna8535
@paritalaramakrishna8535 - 23.08.2020 17:51

what is use of attribute binding and in which case we will use?

Ответить
@zakirmohammad4577
@zakirmohammad4577 - 20.08.2020 17:24

Is it possible to access these attr values at runtime?

Ответить
@srikanthambaldhage2268
@srikanthambaldhage2268 - 14.08.2020 21:55

Thankyou Sridhar sir

Ответить
@sreenuksr
@sreenuksr - 01.08.2020 18:21

Angular 9 Tutorial For Beginners #20 - Attribute Binding

- Is a technique that allows the user to bind attributes of elements from component to view
- Can be used for any existing properties or customer attributes
- [att.attribute_name]="'expression'"

app.component.html

<a [href]='hrefValue' [attr.updatedlink]='updatedlink' [attr.data-link]='updatedlink'>Google</a>

app.component.ts

hrefValue='www.google.com';
updatedlink='www.yahoo.com';

Ответить
@VamsiKrishna-dx4it
@VamsiKrishna-dx4it - 30.07.2020 12:22

Hi Sridhar. What kind of binding is below example called? Does this come under property binding? or we must use [href] in square braces to call it property binding?
<a href="{{hrefValue}}">Click Me</a>

Ответить
@kolluruprakash
@kolluruprakash - 21.07.2020 09:28

Excellent differentiated between attribute and property binding. I too many times confused a lot of times. thanks a lot for your great clear explanation. Provide us real-time examples as well on these please.

Ответить
@kiranmoulimouli4283
@kiranmoulimouli4283 - 17.07.2020 16:15

Sir Wat is the use of this attribute binding
Iam not getting how can it work for my app, and u missed style binding also

Ответить
@livingblissfully5064
@livingblissfully5064 - 31.05.2020 20:15

Hi.. What is the use of these custom attributes..? HTML given attributes have their own significance.. but these are for?

Ответить
@rameshg5684
@rameshg5684 - 25.05.2020 22:17

How to do list binding in angular

Ответить