docs: fix invalid headings (#24000)

PR Close #24000
This commit is contained in:
Pete Bacon Darwin
2018-05-18 16:13:00 +01:00
committed by Miško Hevery
parent 77309e2ea4
commit e6516b0229
26 changed files with 255 additions and 473 deletions

View File

@ -27,6 +27,7 @@ import {getSymbolIterator} from '../util';
*
* NOTE: In the future this class will implement an `Observable` interface.
*
* @usageNotes
* ### Example
* ```typescript
* @Component({...})
@ -34,7 +35,6 @@ import {getSymbolIterator} from '../util';
* @ViewChildren(Item) items:QueryList<Item>;
* }
* ```
*
*/
export class QueryList<T>/* implements Iterable<T> */ {
public readonly dirty = true;

View File

@ -29,9 +29,10 @@ export abstract class ViewRef extends ChangeDetectorRef {
*
* Properties of elements in a View can change, but the structure (number and order) of elements in
* a View cannot. Changing the structure of Elements can only be done by inserting, moving or
* removing nested Views via a {@link ViewContainerRef}. Each View can contain many View Containers.
* removing nested Views via a `ViewContainerRef`. Each View can contain many View Containers.
* <!-- /TODO -->
*
* @usageNotes
* ### Example
*
* Given this template...
@ -43,9 +44,10 @@ export abstract class ViewRef extends ChangeDetectorRef {
* </ul>
* ```
*
* We have two {@link TemplateRef}s:
* We have two `TemplateRef`s:
*
* Outer `TemplateRef`:
*
* Outer {@link TemplateRef}:
* ```
* Count: {{items.length}}
* <ul>
@ -53,14 +55,15 @@ export abstract class ViewRef extends ChangeDetectorRef {
* </ul>
* ```
*
* Inner {@link TemplateRef}:
* Inner `TemplateRef`:
*
* ```
* <li>{{item}}</li>
* ```
*
* Notice that the original template is broken down into two separate {@link TemplateRef}s.
* Notice that the original template is broken down into two separate `TemplateRef`s.
*
* The outer/inner {@link TemplateRef}s are then assembled into views like so:
* The outer/inner `TemplateRef`s are then assembled into views like so:
*
* ```
* <!-- ViewRef: outer-0 -->