Skip to content

Commit

Permalink
docs(showcase): add note to textarea (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercosmos authored and vthinkxie committed Oct 21, 2017
1 parent 6034f54 commit 4c7353a
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions src/showcase/nz-demo-input/nz-demo-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h2>代码演示<i class="code-box-expand-trigger anticon anticon-appstore" titl
<nz-code-box [nzTitle]="'文本域'" id="components-input-demo-textarea" [nzCode]="NzDemoInputTextareaCode">
<nz-demo-input-textarea demo></nz-demo-input-textarea>
<div intro>
<p>用于多行输入,指定 <code>nzType</code> 为一个特殊的 <code>textarea</code></p>
<p>用于多行输入,指定 <code>nzType</code> 为一个特殊的 <code>textarea</code>可以用 <code>nzRows</code> 或是 <code>nzAutosize</code> 来控制框的高度。</p>
</div>
</nz-code-box>
</div>
Expand Down Expand Up @@ -164,20 +164,26 @@ <h4 id="Input.TextArea"><span>nz-input[type=textarea]</span>
<p><code>nzType="textarea"</code> 时,特有的API</p>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
<th>类型</th>
<th>默认值</th>
</tr>
<tr>
<th>参数</th>
<th>说明</th>
<th>类型</th>
<th>默认值</th>
</tr>
</thead>
<tbody>
<tr>
<td>nzAutosize</td>
<td>自适应内容高度,可设置为 true|false 或对象:<code>{{'{ minRows: 2, maxRows: 6 }'}}</code></td>
<td>Boolean|Object</td>
<td><code>false</code></td>
</tr>
<tr>
<td>nzAutosize</td>
<td>自适应内容高度,可设置为 true|false 或对象:<code>{{'{ minRows: 2, maxRows: 6 }'}}</code></td>
<td>Boolean|Object</td>
<td><code>false</code></td>
</tr>
<tr>
<td>nzRows</td>
<td>控制固定框的行数</td>
<td>String</td>
<td></td>
</tr>
</tbody>
</table>
<h4 id="Input.Group"><span>nz-input-group</span>
Expand Down

0 comments on commit 4c7353a

Please sign in to comment.