diff --git a/src/components/inputnumber/InputNumber.d.ts b/src/components/inputnumber/InputNumber.d.ts index 83d21a342..86e4dad5a 100755 --- a/src/components/inputnumber/InputNumber.d.ts +++ b/src/components/inputnumber/InputNumber.d.ts @@ -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; diff --git a/src/views/inputnumber/InputNumberDoc.vue b/src/views/inputnumber/InputNumberDoc.vue index 5b7b4745a..2509fce7e 100755 --- a/src/views/inputnumber/InputNumberDoc.vue +++ b/src/views/inputnumber/InputNumberDoc.vue @@ -294,6 +294,26 @@ Vertical +
Name | +Parameters | +Description | +
---|---|---|
getFormatter | +- | +Returns Intl.NumberFormat object. | +
Any valid event such as focus and blur are passed to the underlying input element. Following are the additional events to configure the component.