docs(arch,hier-dep,temp-syntax,toh-5): misc copyedits (#3375)
* docs(architecture): copyedit Follow-up fix to https://github.com/angular/angular.io/commit/e6741efd8f4fad20ca519d8eb99 ec0c7d102577d#commitcomment-21321447 * docs(hierarchical-dependency): copyedit * doc(template-syntax): copyedits * docs(toh-5): remove unnecessary block, trim whitespace
This commit is contained in:
parent
2fbca288c2
commit
c2bb6ad935
|
@ -252,7 +252,7 @@ block ts-decorator
|
|||
The `@Component` decorator takes a required configuration object with the
|
||||
information Angular needs to create and present the component and its view.
|
||||
|
||||
Here are a few of the most useful @Component configuration options:
|
||||
Here are a few of the most useful `@Component` configuration options:
|
||||
|
||||
:marked
|
||||
- `selector`: CSS selector that tells Angular to create and insert an instance of this component
|
||||
|
|
|
@ -115,6 +115,7 @@ figure.image-display
|
|||
Each selected hero tax return opens in its own component and multiple returns can be open at the same time.
|
||||
|
||||
Each tax return component has the following characteristics:
|
||||
|
||||
* Is its own tax return editing session.
|
||||
* Can change a tax return without affecting a return in another component.
|
||||
* Has the ability to save the changes to its tax return or cancel them.
|
||||
|
|
|
@ -21,7 +21,7 @@ style.
|
|||
|
||||
a#toc
|
||||
:marked
|
||||
### Table of contents
|
||||
### Contents
|
||||
|
||||
This guide covers the basic elements of the Angular template syntax, elements you'll need to construct the view:
|
||||
|
||||
|
@ -528,7 +528,6 @@ table(width="100%")
|
|||
<code>style</code> property
|
||||
td
|
||||
+makeExample('template-syntax/ts/src/app/app.component.html', 'style-binding-syntax-1')(format=".")
|
||||
</div>
|
||||
|
||||
:marked
|
||||
With this broad view in mind, you're ready to look at binding types in detail.
|
||||
|
@ -699,7 +698,7 @@ a#one-time-initialization
|
|||
|
||||
:marked
|
||||
Fortunately, Angular data binding is on alert for dangerous HTML.
|
||||
It *sanitizes* the values before displaying them.
|
||||
It [*sanitizes*](security#sanitization-and-security-contexts) the values before displaying them.
|
||||
It **will not** allow HTML with script tags to leak into the browser, neither with interpolation
|
||||
nor property binding.
|
||||
|
||||
|
|
|
@ -863,9 +863,8 @@ block css-files
|
|||
|
||||
+makeExcerpt('src/app/app.component.ts (active router links)', 'template')
|
||||
|
||||
block style-urls
|
||||
:marked
|
||||
Add a `styleUrls` property that points to this CSS file as follows.
|
||||
Add a `styleUrls` property that refers to this CSS file as follows:
|
||||
|
||||
+makeExcerpt('src/app/app.component.ts','styleUrls')
|
||||
|
||||
|
|
Loading…
Reference in New Issue