Added capital lettings to titles

This commit is contained in:
sgmills365 2016-07-18 19:02:10 -04:00 committed by Naomi Black
parent d0811714d5
commit 14bd476d89
1 changed files with 7 additions and 7 deletions

View File

@ -600,10 +600,10 @@ figure.image-display
.l-main-section .l-main-section
:marked :marked
<a id="other-bindings"></a> <a id="other-bindings"></a>
## Attribute, class, and style bindings ## Attribute, Class, and Style Bindings
The template syntax provides specialized one-way bindings for scenarios less well suited to property binding. The template syntax provides specialized one-way bindings for scenarios less well suited to property binding.
### Attribute binding ### Attribute Binding
We can set the value of an attribute directly with an **attribute binding**. We can set the value of an attribute directly with an **attribute binding**.
.l-sub-section .l-sub-section
:marked :marked
@ -653,7 +653,7 @@ code-example(format="nocode").
is to set ARIA attributes, as in this example: is to set ARIA attributes, as in this example:
+makeExample('template-syntax/ts/app/app.component.html', 'attrib-binding-aria')(format=".") +makeExample('template-syntax/ts/app/app.component.html', 'attrib-binding-aria')(format=".")
:marked :marked
### Class binding ### Class Binding
We can add and remove CSS class names from an elements `class` attribute with We can add and remove CSS class names from an elements `class` attribute with
a **class binding**. a **class binding**.
@ -684,7 +684,7 @@ block dart-class-binding-bug
we generally prefer the [NgClass directive](#ngClass) for managing multiple class names at the same time. we generally prefer the [NgClass directive](#ngClass) for managing multiple class names at the same time.
:marked :marked
### Style binding ### Style Binding
We can set inline styles with a **style binding**. We can set inline styles with a **style binding**.
@ -713,7 +713,7 @@ block style-property-name-dart-diff
.l-main-section .l-main-section
:marked :marked
## Event binding ## Event Binding
The bindings weve met so far flow data in one direction: *from the component to an element*. The bindings weve met so far flow data in one direction: *from the component to an element*.
Users dont just stare at the screen. They enter text into input boxes. They pick items from lists. Users dont just stare at the screen. They enter text into input boxes. They pick items from lists.
@ -730,7 +730,7 @@ block style-property-name-dart-diff
the component's `onSave()` method whenever a click occurs: the component's `onSave()` method whenever a click occurs:
+makeExample('template-syntax/ts/app/app.component.html', 'event-binding-1')(format=".") +makeExample('template-syntax/ts/app/app.component.html', 'event-binding-1')(format=".")
:marked :marked
### Target event ### Target Event
A **name between enclosing parentheses** &mdash; for example, `(click)` &mdash; A **name between enclosing parentheses** &mdash; for example, `(click)` &mdash;
identifies the target event. In the following example, the target is the buttons click event. identifies the target event. In the following example, the target is the buttons click event.
+makeExample('template-syntax/ts/app/app.component.html', 'event-binding-1')(format=".") +makeExample('template-syntax/ts/app/app.component.html', 'event-binding-1')(format=".")
@ -780,7 +780,7 @@ block style-property-name-dart-diff
<a id="eventemitter"></a> <a id="eventemitter"></a>
<a id="custom-event"></a> <a id="custom-event"></a>
### Custom events with EventEmitter ### Custom Events with EventEmitter
Directives typically raise custom events with an Angular [EventEmitter](../api/core/index/EventEmitter-class.html). Directives typically raise custom events with an Angular [EventEmitter](../api/core/index/EventEmitter-class.html).
A directive creates an `EventEmitter` and exposes it as a property. A directive creates an `EventEmitter` and exposes it as a property.