Revision bca5638736f561beebe908ad740b44adabf640c4 authored by dario-piotrowicz on 05 December 2021, 15:46:19 UTC, committed by Alex Rickabaugh on 07 December 2021, 13:34:04 UTC
add information to the query api docs clarifying what elements can be queried as entering and leaving (as that is not currently clearly documented and has caused confusions to developers) one of the tasks of issue #44253 PR Close #44379
1 parent 4126591
NAMING.md
Naming Conventions in Angular
---
In general Angular should follow TypeScript naming conventions.
See: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines
Classes:
- Example: `Compiler`, `ApplicationMetadata`
- Camel case with first letter uppercase
- In general prefer single words. (This is so that when appending `Proto` or `Factory` the class
is still reasonable to work with.)
- Should not end with `Impl` or any other word which describes a specific implementation of an
interface.
Interfaces:
- Follow the same rules as Classes
- Should not have `I` or `Interface` in the name or any other way of identifying it as an interface.
Methods and functions:
- Example: `bootstrap`, `someMethod`
- Should be camel case with first letter lowercase
Constants:
- Example: `CORE_DIRECTIVES`
- Should be all uppercase with SNAKE_CASE
Computing file changes ...