Refactor #506 - Update InputNumber doc
parent
7cf493de03
commit
f1d96c24a0
|
@ -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;
|
||||||
}
|
}
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue