docs(glossary): copyedits and dropped unused Dart blocks (#3455)
* docs(glossary): copyedits and dropped unused Dart blocks * post-review updates cc @kapunahelewong @kwalrath
This commit is contained in:
parent
a5a55eabe1
commit
53d94a8723
@ -46,11 +46,9 @@ a#aot
|
|||||||
|
|
||||||
For details and examples, see the [Angular Modules (NgModule)](!{docsLatest}/guide/ngmodule.html) page.
|
For details and examples, see the [Angular Modules (NgModule)](!{docsLatest}/guide/ngmodule.html) page.
|
||||||
|
|
||||||
+ifDocsFor('ts|dart')
|
|
||||||
:marked
|
:marked
|
||||||
## Annotation
|
## Annotation
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
block annotation-defn
|
|
||||||
:marked
|
:marked
|
||||||
In practice, a synonym for [Decoration](#decorator).
|
In practice, a synonym for [Decoration](#decorator).
|
||||||
|
|
||||||
@ -120,16 +118,16 @@ a#attribute-directives
|
|||||||
|
|
||||||
Sometimes refers to a [dependency-injection](#dependency-injection) binding
|
Sometimes refers to a [dependency-injection](#dependency-injection) binding
|
||||||
between a "token"—also referred to as a "key"—and a dependency [provider](#provider).
|
between a "token"—also referred to as a "key"—and a dependency [provider](#provider).
|
||||||
When using this more rare usage, be clear in context.
|
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
## Bootstrap
|
## Bootstrap
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
block bootstrap-defn-top
|
|
||||||
:marked
|
:marked
|
||||||
You launch an Angular application by "bootstrapping" it using the application root Angular module (`AppModule`). Bootstrapping identifies an application's top level "root" [component](#component), which is the first component that is loaded for the application.
|
You launch an Angular application by "bootstrapping" it using the application root Angular module (`AppModule`).
|
||||||
|
Bootstrapping identifies an application's top level "root" [component](#component),
|
||||||
|
which is the first component that is loaded for the application.
|
||||||
For more information, see the [Setup](!{docsLatest}/guide/setup.html) page.
|
For more information, see the [Setup](!{docsLatest}/guide/setup.html) page.
|
||||||
:marked
|
|
||||||
You can bootstrap multiple apps in the same `index.html`, each app with its own top-level root.
|
You can bootstrap multiple apps in the same `index.html`, each app with its own top-level root.
|
||||||
|
|
||||||
.l-main-section#C
|
.l-main-section#C
|
||||||
@ -200,14 +198,11 @@ a#component
|
|||||||
* [Style binding](!{docsLatest}/guide/template-syntax.html#style-binding).
|
* [Style binding](!{docsLatest}/guide/template-syntax.html#style-binding).
|
||||||
* [Two-way data binding with ngModel](!{docsLatest}/guide/template-syntax.html#ngModel).
|
* [Two-way data binding with ngModel](!{docsLatest}/guide/template-syntax.html#ngModel).
|
||||||
|
|
||||||
|
|
||||||
+ifDocsFor('ts|dart')
|
|
||||||
a#decorator
|
a#decorator
|
||||||
a#decoration
|
a#decoration
|
||||||
:marked
|
:marked
|
||||||
## Decorator | decoration
|
## Decorator | decoration
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
block decorator-defn
|
|
||||||
:marked
|
:marked
|
||||||
A *function* that adds metadata to a class, its members (properties, methods) and function arguments.
|
A *function* that adds metadata to a class, its members (properties, methods) and function arguments.
|
||||||
|
|
||||||
@ -296,7 +291,7 @@ a#directives
|
|||||||
An Angular class responsible for creating, reshaping, and interacting with HTML elements
|
An Angular class responsible for creating, reshaping, and interacting with HTML elements
|
||||||
in the browser DOM. The directive is Angular's most fundamental feature.
|
in the browser DOM. The directive is Angular's most fundamental feature.
|
||||||
|
|
||||||
A directive is ususally associated with an HTML element or attribute.
|
A directive is usually associated with an HTML element or attribute.
|
||||||
This element or attribute is often referred to as the directive itself.
|
This element or attribute is often referred to as the directive itself.
|
||||||
|
|
||||||
When Angular finds a directive in an HTML template,
|
When Angular finds a directive in an HTML template,
|
||||||
@ -308,22 +303,20 @@ a#directives
|
|||||||
as if you were writing native HTML. In this way, directives become extensions of
|
as if you were writing native HTML. In this way, directives become extensions of
|
||||||
HTML itself.
|
HTML itself.
|
||||||
|
|
||||||
|
|
||||||
Directives fall into one of the following categories:
|
Directives fall into one of the following categories:
|
||||||
|
|
||||||
* [Components](#component) combine application logic with an HTML template to
|
* [Components](#component) combine application logic with an HTML template to
|
||||||
render application [views](#view). Components are usually represented as HTML elements.
|
render application [views](#view). Components are usually represented as HTML elements.
|
||||||
They are the building blocks of an Angular application.
|
They are the building blocks of an Angular application.
|
||||||
|
|
||||||
1. [Attribute directives](#attribute-directive) can listen to and modify the behavior of
|
* [Attribute directives](#attribute-directive) can listen to and modify the behavior of
|
||||||
other HTML elements, attributes, properties, and components. They are usually represented
|
other HTML elements, attributes, properties, and components. They are usually represented
|
||||||
as HTML attributes, hence the name.
|
as HTML attributes, hence the name.
|
||||||
|
|
||||||
1. [Structural directives](#structural-directive) are responsible for
|
* [Structural directives](#structural-directive) are responsible for
|
||||||
shaping or reshaping HTML layout, typically by adding, removing, or manipulating
|
shaping or reshaping HTML layout, typically by adding, removing, or manipulating
|
||||||
elements and their children.
|
elements and their children.
|
||||||
|
|
||||||
|
|
||||||
.l-main-section#E
|
.l-main-section#E
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
@ -449,7 +442,6 @@ a#jit
|
|||||||
:marked
|
:marked
|
||||||
## Module
|
## Module
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
block module-defn
|
|
||||||
.alert.is-important
|
.alert.is-important
|
||||||
:marked
|
:marked
|
||||||
Angular has the following types of modules:
|
Angular has the following types of modules:
|
||||||
@ -492,7 +484,7 @@ a#N
|
|||||||
:marked
|
:marked
|
||||||
An array whose items arrive asynchronously over time.
|
An array whose items arrive asynchronously over time.
|
||||||
Observables help you manage asynchronous data, such as data coming from a backend service.
|
Observables help you manage asynchronous data, such as data coming from a backend service.
|
||||||
Observables are used within Angular itself, including Angular's event system and its http client service.
|
Observables are used within Angular itself, including Angular's event system and its HTTP client service.
|
||||||
|
|
||||||
To use observables, Angular uses a third-party library called Reactive Extensions (RxJS).
|
To use observables, Angular uses a third-party library called Reactive Extensions (RxJS).
|
||||||
Observables are a proposed feature for ES2016, the next version of JavaScript.
|
Observables are a proposed feature for ES2016, the next version of JavaScript.
|
||||||
@ -548,7 +540,6 @@ a#N
|
|||||||
a#Q
|
a#Q
|
||||||
.l-main-section#R
|
.l-main-section#R
|
||||||
|
|
||||||
+ifDocsFor('ts|js')
|
|
||||||
:marked
|
:marked
|
||||||
## Reactive forms
|
## Reactive forms
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
@ -588,7 +579,6 @@ a#Q
|
|||||||
|
|
||||||
For more information, see the [Routing & Navigation](!{docsLatest}/guide/router.html) page.
|
For more information, see the [Routing & Navigation](!{docsLatest}/guide/router.html) page.
|
||||||
|
|
||||||
+ifDocsFor('ts|js')
|
|
||||||
:marked
|
:marked
|
||||||
## Router module
|
## Router module
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
@ -607,7 +597,6 @@ a#Q
|
|||||||
|
|
||||||
.l-main-section#S
|
.l-main-section#S
|
||||||
|
|
||||||
+ifDocsFor('ts|js')
|
|
||||||
:marked
|
:marked
|
||||||
## Scoped package
|
## Scoped package
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
@ -645,9 +634,7 @@ a#Q
|
|||||||
a#snake-case
|
a#snake-case
|
||||||
:marked
|
:marked
|
||||||
## snake_case
|
## snake_case
|
||||||
|
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
block snake-case-defn
|
|
||||||
:marked
|
:marked
|
||||||
The practice of writing compound words or phrases such that an
|
The practice of writing compound words or phrases such that an
|
||||||
underscore (`_`) separates one word from the next. This form is also known as *underscore case*.
|
underscore (`_`) separates one word from the next. This form is also known as *underscore case*.
|
||||||
@ -663,7 +650,7 @@ a#structural-directives
|
|||||||
shape or reshape HTML layout, typically by adding and removing elements in the DOM.
|
shape or reshape HTML layout, typically by adding and removing elements in the DOM.
|
||||||
The `ngIf` "conditional element" directive and the `ngFor` "repeater" directive are well-known examples.
|
The `ngIf` "conditional element" directive and the `ngFor` "repeater" directive are well-known examples.
|
||||||
|
|
||||||
Read more in the [_Structural Directives_](!{docsLatest}/guide/structural-directives.html) guide.
|
Read more in the [Structural Directives](!{docsLatest}/guide/structural-directives.html) page.
|
||||||
|
|
||||||
.l-main-section#T
|
.l-main-section#T
|
||||||
:marked
|
:marked
|
||||||
@ -674,8 +661,6 @@ a#structural-directives
|
|||||||
the support and guidance of an Angular [directive](#directive),
|
the support and guidance of an Angular [directive](#directive),
|
||||||
most notably a [component](#component).
|
most notably a [component](#component).
|
||||||
|
|
||||||
|
|
||||||
+ifDocsFor('ts|js')
|
|
||||||
:marked
|
:marked
|
||||||
## Template-driven forms
|
## Template-driven forms
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
@ -756,7 +741,6 @@ a#Y
|
|||||||
:marked
|
:marked
|
||||||
## Zone
|
## Zone
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
block zone-defn
|
|
||||||
:marked
|
:marked
|
||||||
A mechanism for encapsulating and intercepting
|
A mechanism for encapsulating and intercepting
|
||||||
a JavaScript application's asynchronous activity.
|
a JavaScript application's asynchronous activity.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user