Variable: XInputUnit
const
XInputUnit:DefineComponent
<ExtractPropTypes
<{appendWidth
: {default
:number
;type
:NumberConstructor
; };format
: {type
:StringConstructor
; };modelValue
: {type
: (StringConstructor
|NumberConstructor
)[]; };selectProps
: {type
:PropType
<Record
<string
,any
>>; };unit
: {type
:StringConstructor
; };units
: {type
:PropType
<(string
|InputUnitOption
)[]>; };withUnit
: {default
:boolean
;type
:BooleanConstructor
; }; }>, {formatValue
: (value
?) =>string
|number
|undefined
;parser
: (value
?) =>object
; }, {}, {}, {},ComponentOptionsMixin
,ComponentOptionsMixin
, {change
: (args_0
) =>any
;unit-change
: (args_0
) =>any
;update:modelValue
: (args_0
) =>any
;update:unit
: (args_0
) =>any
; },string
,PublicProps
,Readonly
<ExtractPropTypes
<{appendWidth
: {default
:number
;type
:NumberConstructor
; };format
: {type
:StringConstructor
; };modelValue
: {type
: (StringConstructor
|NumberConstructor
)[]; };selectProps
: {type
:PropType
<Record
<string
,any
>>; };unit
: {type
:StringConstructor
; };units
: {type
:PropType
<(string
|InputUnitOption
)[]>; };withUnit
: {default
:boolean
;type
:BooleanConstructor
; }; }>> &Readonly
<{onChange
: (args_0
) =>any
;onUnit-change
: (args_0
) =>any
;onUpdate:modelValue
: (args_0
) =>any
;onUpdate:unit
: (args_0
) =>any
; }>, {appendWidth
:number
;withUnit
:boolean
; }, {}, {}, {},string
,ComponentProvideOptions
,true
, {},any
>
Defined in
packages/ui/types/components/input-unit/InputUnit.d.ts:3