diff --git a/public/docs/ts/latest/glossary.jade b/public/docs/ts/latest/glossary.jade index 4bbdca4c5c..8b04a05bfe 100644 --- a/public/docs/ts/latest/glossary.jade +++ b/public/docs/ts/latest/glossary.jade @@ -105,6 +105,18 @@ include _util-fns .l-main-section +:marked + ## camelCase +.l-sub-section + :marked + The practice of writing compound words or phrases such that each word or abbreviation begins with a capital letter + _except the first letter which is a lowercase letter_. + + Function, property, and method names are typically spelled in camelCase. Examples include: `square`, `firstName` and `getHeroes`. + + This form is also known as **lower camel case**, to distinguish it from **upper camel case** which we call [PascalCase](#pascalcase). + When we write "camelCase" in this documentation we always mean *lower camel case*. + :marked ## Component .l-sub-section @@ -128,6 +140,16 @@ include _util-fns // #docregion d1 .l-main-section +:marked + ## dash-case +.l-sub-section + :marked + The practice of writing compound words or phrases such that each word is separated by a dash or hyphen (-). + + Directive selectors and the root of filenames are often spelled in dash-case. Examples include: `my-app` and the `hero-list.component.ts`. + + This form is also known as [kebab-case](#kebab-case). + :marked ## Data Binding .l-sub-section @@ -374,7 +396,19 @@ include _util-fns + +.l-main-section +:marked + ## kebab-case +.l-sub-section + :marked + The practice of writing compound words or phrases such that each word is separated by a dash or hyphen (-). + + Directive selectors and the root of filenames are often spelled in kebab-case. Examples include: `my-app` and the `hero-list.component.ts`. + + This form is also known as [dash-case](#dash-case). + .l-main-section :marked @@ -464,6 +498,16 @@ include _util-fns .l-main-section +:marked + ## PascalCase +.l-sub-section + :marked + The practice of writing compound words or phrases such that each word or abbreviation begins with a capital letter. + Class names are typically spelled in PascalCase. Examples include: `Person` and `Customer`. + + This form is also known as **upper camel case**, to distinguish it from **lower camel case** which we simply call [camelCase](#camelcase). + In this documentation, "PascalCase" means *upper camel case* and "camelCase" means *lower camel case*. + :marked ## Pipe .l-sub-section