Skip to content

Commit 9a26559

Browse files
committed
Add class decorators questions
1 parent 75c56f8 commit 9a26559

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
|122| [How do you invoke a builder?](#how-do-you-invoke-a-builder)|
131131
|123| [How do you create app shell in Angular?](#how-do-you-create-app-shell-in-angular)|
132132
|124| [What are the case types in Angular?](#what-are-the-case-types-in-angular)|
133+
|125| [What are the class decorators in Angular?](#what-are-the-class-decorators-in-angular)|
133134

134135
1. ### What is Angular Framework?
135136

@@ -1633,4 +1634,11 @@
16331634
3. **dash-case (or "kebab-case"):** The descriptive part of file names, component selectors uses dashes between the words. For example, "app-user-list".
16341635
4. **UPPER_UNDERSCORE_CASE:** All constants uses capital letters connected with underscores. For example, "NUMBER_OF_USERS".
16351636
1636-
1637+
125. ### What are the class decorators in Angular?
1638+
A class decorator is a decorator that appears immediately before a class definition, which declares the class to be of the given type, and provides metadata suitable to the type
1639+
The following list of decorators comes under class decorators,
1640+
1. @Component()
1641+
2. @Directive()
1642+
3. @Pipe()
1643+
4. @Injectable()
1644+
5. @NgModule()

0 commit comments

Comments
 (0)