Refactor #506 - Update InputNumber doc

pull/525/head
mertsincan 2020-09-27 22:16:24 +03:00
parent 7cf493de03
commit f1d96c24a0
2 changed files with 23 additions and 3 deletions

View File

@ -23,4 +23,5 @@ export declare class InputNumber extends Vue {
max?: number; max?: number;
step?: number; step?: number;
$emit(eventName: string, value: number | Event): this; $emit(eventName: string, value: number | Event): this;
$emit(eventName: 'input', e: {originalEvent: Event, value: any}): this;
} }

View File

@ -277,7 +277,26 @@ Vertical
</div> </div>
<h5>Events</h5> <h5>Events</h5>
<p>Any valid event such as focus, blur and input are passed to the underlying input element.</p> <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">
<table class="doc-table">
<thead>
<tr>
<th>Name</th>
<th>Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>input</td>
<td>event.originalEvent: Browser event <br />
event.value: New value</td>
<td>Callback to invoke when the value is entered.</td>
</tr>
</tbody>
</table>
</div>
<h5>Styling</h5> <h5>Styling</h5>
<p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p> <p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p>