Update InputMask.d.ts
parent
9a68b37d1d
commit
a60230fb68
|
@ -107,6 +107,10 @@ export interface InputMaskProps {
|
||||||
* Value of the component.
|
* Value of the component.
|
||||||
*/
|
*/
|
||||||
modelValue?: string | undefined;
|
modelValue?: string | undefined;
|
||||||
|
/**
|
||||||
|
* The default value for the input when not controlled by `modelValue`.
|
||||||
|
*/
|
||||||
|
defaultValue?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Placeholder character in mask, default is underscore.
|
* Placeholder character in mask, default is underscore.
|
||||||
* @defaultValue _
|
* @defaultValue _
|
||||||
|
@ -202,6 +206,11 @@ export interface InputMaskEmitsOptions {
|
||||||
* @param {string} value - New value.
|
* @param {string} value - New value.
|
||||||
*/
|
*/
|
||||||
'update:modelValue'(value: string): void;
|
'update:modelValue'(value: string): void;
|
||||||
|
/**
|
||||||
|
* Emitted when the value changes in uncontrolled mode.
|
||||||
|
* @param {string} value - New value.
|
||||||
|
*/
|
||||||
|
'value-change'(value: string): void;
|
||||||
/**
|
/**
|
||||||
* Callback to invoke when the component receives focus.
|
* Callback to invoke when the component receives focus.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue