Angular Video Series Part 10 || Attribute, Class & Style Binding In The Angular Tutorial

Опубликовано: 26 Октябрь 2024
на канале: Code with Sloba
1,368
50

Angular Video Series Part 10 || Attribute, Class & Style Binding In The Angular Tutorial
Welcome To My Channel Slobodan Gajic
To Subscribe: https://cutt.ly/Nm4Vc8e

Using these bindings you can improve accessibility, dynamically style your application, and update classes on the fly.

Attribute binding in Angular helps you set values for attributes directly.

It is recommended that you set an element property with a property binding whenever possible. However, sometimes you don't have an element property to bind. In those situations, you can use attribute binding.

Attribute binding syntax resembles property binding, but instead of an element property between brackets, you precede the name of the attribute with the prefix attr, followed by a dot.

Then, you set the attribute value with an expression that resolves to a string.

************************************************************
Previous Video:    • Angular Video Series Part 9 || Proper...  
Next video:    • Angular Video Series Part 11 || Event...  
Full series:    • Full Angular Course  
************************************************************
Linkedin: link   / slobodan-gajic  
Portfolio: https://bobangajicsm.github.io/portfo...
Twitter:   / _slobodangajic_  
************************************************************
0:00 Intro
0:20 Binding to an event
0:55 Binding to custom events
2:20 Outro
------------------------*************------------------------

🎥Check Out My Popular Videos🎥

💠 Angular video series #9
»    • Angular Video Series Part 9 || Proper...  

💠 Angular video series #10
»    • Angular Video Series Part 10 || Attri...  

💠 Angular video series #11
»    • Angular Video Series Part 11 || Event...  

💠 Angular video series - #12
»    • Angular Video Series Part 12 || Angul...  

Follow Me On Social Media:

👉 Linkedin:
✔️   / slobodan-gajic  

👉 Portfolio:
✔️https://bobangajicsm.github.io/portfo...

👉 Twitter:
✔️  / _slobodangajic_  


Thanks for watching the video from my channel! Introduce yourself to me in the comment section and let me know where in the world you’re listening from. Mention & share with your friends who are looking for these types of videos.

Don't Forget To Subscribe & Press The Bell Icon Of Slobodan Gajic.

#AttributeBinding
#Angular
#SlobodanGajic
#AngularVideoSeries
#ClassBindingInAngular
#StyleBindingInAngular
#AttributeBindingInAngular
#AngularForBeginners
#AngularTutorial

------------------------*************------------------------