Different Selectors in Angular | Components | Angular 12+

  Рет қаралды 44,584

procademy

procademy

Күн бұрын

So, far we have used selector of a component like an HTML attribute. But it is also possible to use a selector like an HTML attribute or like a CSS class.
In this lecture, let's learn what are different types of selector and how to create different types of selector in Angular.

Пікірлер: 16
@mohamedelaminelakhal3697
@mohamedelaminelakhal3697 Жыл бұрын
I've been looking for a angular course for a week , until I found yours. Definitely the best on youtube. A big thank you from canada
@billbortkevich2300
@billbortkevich2300 2 жыл бұрын
Thank you so much for your content. I accidentally run across one of your videos and learn some features that I did not even suspect exists. Great job and nice style - short and to the point.
@srikanthambaldhage5264
@srikanthambaldhage5264 Жыл бұрын
Thankyou sir, Sir we can also use the selector as html id attribute also "id". selector: '#app-nav',
@JD-vo3oe
@JD-vo3oe 2 жыл бұрын
The idea here sounds terrific but why would you want to do that? What would be some indications for making the selector an attribute or a CSS file?
@RamKumar-fl7oo
@RamKumar-fl7oo Жыл бұрын
Yes why we have to change selector as attribute & ccs ?did you any why they did like this ?
@marcelajaklova6560
@marcelajaklova6560 Жыл бұрын
​@@RamKumar-fl7oo We can use selector as css class for styling. If you want to have same style for semantically different components, f.e. can appear to user like , but you can keep the rule of having only one
@peace4future865
@peace4future865 Жыл бұрын
Very well explained. Thank you.
@benchik100
@benchik100 8 күн бұрын
Thanks
@mohiburrahman5639
@mohiburrahman5639 Жыл бұрын
easy to understand!!
@mohmedhumaid2244
@mohmedhumaid2244 2 жыл бұрын
Hi!, Could you please elaborate any practical usages of these selectors.
@procademy
@procademy 2 жыл бұрын
These selectors can be used as an HTML element in case of a component and as an attribute in case of a directive You will understand its usage as you go along with this Angular course.
@mohmedhumaid2244
@mohmedhumaid2244 2 жыл бұрын
@@procademy Thank you :)
@skjahir7365
@skjahir7365 Жыл бұрын
Great sir
@skjahir7365
@skjahir7365 Жыл бұрын
Sir which approach good for security ?
@amilawijesena1672
@amilawijesena1672 2 жыл бұрын
Super
@heybiplabb
@heybiplabb 2 жыл бұрын
Done✅
What is data binding | Data Binding | Angular 12+
3:53
procademy
Рет қаралды 54 М.
Creating a Custom Component | Components | Angular 12+
21:58
procademy
Рет қаралды 93 М.
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 99 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 10 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 125 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 47 МЛН
Using Bootstrap in Angular | Components | Angular 12+
6:09
procademy
Рет қаралды 72 М.
What’s new in Angular v18
20:08
Angular
Рет қаралды 123 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,5 МЛН
What Are APIs? - Simply Explained
6:49
Simply Explained
Рет қаралды 884 М.
What is Observable | Observables | Angular 12+
14:16
procademy
Рет қаралды 154 М.
TypeScript - The Basics
12:01
Fireship
Рет қаралды 1,5 МЛН
What is Event Binding | Data Binding | Angular 12+
16:58
procademy
Рет қаралды 53 М.
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 99 МЛН