Update d.ts and doc of InputNumber

pull/1527/head
mertsincan 2021-09-07 10:06:58 +03:00
parent b17ed7924e
commit f761200c4a
2 changed files with 21 additions and 0 deletions

View File

@ -31,6 +31,7 @@ declare class InputNumber {
$props: InputNumberProps;
$emit(eventName: 'update:modelValue', value: number): this;
$emit(eventName: 'input', e: {originalEvent: Event, value: any}): this;
getFormatter(): any;
}
export default InputNumber;

View File

@ -294,6 +294,26 @@ Vertical
</table>
</div>
<h5>Methods</h5>
<div class="doc-tablewrapper">
<table class="doc-table">
<thead>
<tr>
<th>Name</th>
<th>Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>getFormatter</td>
<td>-</td>
<td>Returns Intl.NumberFormat object.</td>
</tr>
</tbody>
</table>
</div>
<h5>Events</h5>
<p>Any valid event such as focus and blur are passed to the underlying input element. Following are the additional events to configure the component.</p>
<div class="doc-tablewrapper">