diff --git a/src/components/inputnumber/InputNumber.d.ts b/src/components/inputnumber/InputNumber.d.ts index e395a4d9f..55ec1c497 100755 --- a/src/components/inputnumber/InputNumber.d.ts +++ b/src/components/inputnumber/InputNumber.d.ts @@ -23,4 +23,5 @@ export declare class InputNumber extends Vue { max?: number; step?: number; $emit(eventName: string, value: number | Event): this; -} \ No newline at end of file + $emit(eventName: 'input', e: {originalEvent: Event, value: any}): this; +} diff --git a/src/views/inputnumber/InputNumberDoc.vue b/src/views/inputnumber/InputNumberDoc.vue index 0e2c54cc5..28e85996a 100755 --- a/src/views/inputnumber/InputNumberDoc.vue +++ b/src/views/inputnumber/InputNumberDoc.vue @@ -277,7 +277,26 @@ Vertical
Any valid event such as focus, blur and input are passed to the underlying input element.
+Any valid event such as focus and blur are passed to the underlying input element. Following are the additional events to configure the component.
+Name | +Parameters | +Description | +
---|---|---|
input | +event.originalEvent: Browser event + event.value: New value |
+ Callback to invoke when the value is entered. | +
Following is the list of structural style classes, for theming classes visit