Skip to content

Commit

Permalink
Update d.ts and doc of InputNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Sep 7, 2021
1 parent b17ed79 commit f761200
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/inputnumber/InputNumber.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
20 changes: 20 additions & 0 deletions src/views/inputnumber/InputNumberDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit f761200

Please sign in to comment.