docs(aio): fix table header (#22553)

PR Close #22553
This commit is contained in:
SangKa.Z 2018-03-02 21:52:58 +08:00 committed by Alex Eagle
parent b64139650c
commit 3aea8fd5f3
1 changed files with 15 additions and 13 deletions

View File

@ -89,11 +89,11 @@ promise.then(() => {
The following code snippets illustrate how the same kind of operation is defined using observables and promises. The following code snippets illustrate how the same kind of operation is defined using observables and promises.
<table> <table>
<th> <tr>
<td>Operation</td> <th>Operation</th>
<td>Observable</td> <th>Observable</th>
<td>Promise</td> <th>Promise</th>
</th> </tr>
<tr> <tr>
<td>Creation</td> <td>Creation</td>
<td> <td>
@ -141,10 +141,11 @@ Using observables to handle events and asynchronous operations can have the adva
Here are some code samples that illustrate how the same kind of operation is defined using observables and the events API. Here are some code samples that illustrate how the same kind of operation is defined using observables and the events API.
<table> <table>
<th> <tr>
<td>Observable</td> <th></th>
<td>Events API</td> <th>Observable</th>
</th> <th>Events API</th>
</tr>
<tr> <tr>
<td>Creation & cancellation</td> <td>Creation & cancellation</td>
<td> <td>
@ -203,10 +204,11 @@ button.removeEventListener(click, handler);
An observable produces values over time. An array is created as a static set of values. In a sense, observables are asynchronous where arrays are synchronous. In the following examples, ➞ implies asynchronous value delivery. An observable produces values over time. An array is created as a static set of values. In a sense, observables are asynchronous where arrays are synchronous. In the following examples, ➞ implies asynchronous value delivery.
<table> <table>
<th> <tr>
<td>Observable</td> <th></th>
<td>Array</td> <th>Observable</th>
</th> <th>Array</th>
</tr>
<tr> <tr>
<td>Given</td> <td>Given</td>
<td> <td>