From f761200c4a091df913c8168e6ffd49af88cf0592 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Tue, 7 Sep 2021 10:06:58 +0300 Subject: [PATCH] Update d.ts and doc of InputNumber --- src/components/inputnumber/InputNumber.d.ts | 1 + src/views/inputnumber/InputNumberDoc.vue | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) 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 +
Methods
+
+ + + + + + + + + + + + + + + +
NameParametersDescription
getFormatter-Returns Intl.NumberFormat object.
+
+
Events

Any valid event such as focus and blur are passed to the underlying input element. Following are the additional events to configure the component.