Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit f447315

Browse files
committed
Kathy's post-review edits
cc @kwalrath
1 parent 795a690 commit f447315

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

public/docs/ts/latest/guide/template-syntax.jade

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ a(id="one-time-initialization")
581581

582582

583583
:marked
584-
#### Content Security
584+
#### Content security
585585
Imagine the following *malicious content*.
586586
+makeExample('template-syntax/ts/app/app.component.ts', 'evil-title')(format=".")
587587
:marked
@@ -599,10 +599,10 @@ figure.image-display
599599
.l-main-section
600600
:marked
601601
<a id="other-bindings"></a>
602-
## Attribute, Class, and Style Bindings
602+
## Attribute, class, and style bindings
603603
The template syntax provides specialized one-way bindings for scenarios less well suited to property binding.
604604

605-
### Attribute Binding
605+
### Attribute binding
606606
We can set the value of an attribute directly with an **attribute binding**.
607607
.l-sub-section
608608
:marked
@@ -652,7 +652,7 @@ code-example(format="nocode").
652652
is to set ARIA attributes, as in this example:
653653
+makeExample('template-syntax/ts/app/app.component.html', 'attrib-binding-aria')(format=".")
654654
:marked
655-
### Class Binding
655+
### Class binding
656656

657657
We can add and remove CSS class names from an element’s `class` attribute with
658658
a **class binding**.
@@ -680,7 +680,7 @@ code-example(format="nocode").
680680
we generally prefer the [NgClass directive](#ngClass) for managing multiple class names at the same time.
681681

682682
:marked
683-
### Style Binding
683+
### Style binding
684684

685685
We can set inline styles with a **style binding**.
686686

@@ -744,7 +744,7 @@ block style-property-name-dart-diff
744744
on [aliasing input/output properties](#aliasing-io).
745745

746746
:marked
747-
If the name fails to match element event or output property of a known directive,
747+
If the name fails to match an element event or an output property of a known directive,
748748
Angular reports an “unknown directive” error.
749749

750750
### *$event* and event handling statements
@@ -775,7 +775,7 @@ block style-property-name-dart-diff
775775

776776
<a id="eventemitter"></a>
777777
<a id="custom-event"></a>
778-
### Custom Events with EventEmitter
778+
### Custom events with EventEmitter
779779

780780
Directives typically raise custom events with an Angular [EventEmitter](../api/core/index/EventEmitter-class.html).
781781
The directive creates an `EventEmitter` and exposes it as a property.
@@ -850,7 +850,7 @@ block style-property-name-dart-diff
850850

851851
Angular offers a special _two-way data binding_ syntax for this purpose, **`[(x)]`**.
852852
The `[(x)]` syntax combines the brackets
853-
of _Property Binding_, `[x]`, with the parentheses of _Event Binding_, `(x)`.
853+
of _property binding_, `[x]`, with the parentheses of _event binding_, `(x)`.
854854

855855
.callout.is-important
856856
header [( )] = banana in a box

0 commit comments

Comments
 (0)