@@ -105,6 +105,18 @@ include _util-fns
105
105
106
106
<a id =" C" ></a >
107
107
.l-main-section
108
+ :marked
109
+ ## camelCase
110
+ .l-sub-section
111
+ :marked
112
+ The practice of writing compound words or phrases such that each word or abbreviation begins with a capital letter
113
+ _except the first letter which is a lowercase letter_.
114
+
115
+ Function, property, and method names are typically spelled in camelCase. Examples include: `square`, `firstName` and `getHeroes`.
116
+
117
+ This form is also known as **lower camel case**, to distinguish it from **upper camel case** which we call [PascalCase](#pascalcase).
118
+ When we write "camelCase" in this documentation we always mean *lower camel case*.
119
+
108
120
:marked
109
121
## Component
110
122
.l-sub-section
@@ -128,6 +140,16 @@ include _util-fns
128
140
// #docregion d1
129
141
<a id =" D" ></a >
130
142
.l-main-section
143
+ :marked
144
+ ## dash-case
145
+ .l-sub-section
146
+ :marked
147
+ The practice of writing compound words or phrases such that each word is separated by a dash or hyphen (-).
148
+
149
+ Directive selectors and the root of filenames are often spelled in dash-case. Examples include: `my-app` and the `hero-list.component.ts`.
150
+
151
+ This form is also known as [kebab-case](#kebab-case).
152
+
131
153
:marked
132
154
## Data Binding
133
155
.l-sub-section
@@ -374,7 +396,19 @@ include _util-fns
374
396
375
397
376
398
<a id =" J" ></a >
399
+
400
+ .l-main-section
377
401
<a id =" K" ></a >
402
+ :marked
403
+ ## kebab-case
404
+ .l-sub-section
405
+ :marked
406
+ The practice of writing compound words or phrases such that each word is separated by a dash or hyphen (-).
407
+
408
+ Directive selectors and the root of filenames are often spelled in kebab-case. Examples include: `my-app` and the `hero-list.component.ts`.
409
+
410
+ This form is also known as [dash-case](#dash-case).
411
+
378
412
<a id =" L" ></a >
379
413
.l-main-section
380
414
:marked
@@ -464,6 +498,16 @@ include _util-fns
464
498
465
499
.l-main-section
466
500
<a id =" P" ></a >
501
+ :marked
502
+ ## PascalCase
503
+ .l-sub-section
504
+ :marked
505
+ The practice of writing compound words or phrases such that each word or abbreviation begins with a capital letter.
506
+ Class names are typically spelled in PascalCase. Examples include: `Person` and `Customer`.
507
+
508
+ This form is also known as **upper camel case**, to distinguish it from **lower camel case** which we simply call [camelCase](#camelcase).
509
+ In this documentation, "PascalCase" means *upper camel case* and "camelCase" means *lower camel case*.
510
+
467
511
:marked
468
512
## Pipe
469
513
.l-sub-section
0 commit comments