Variable: XAction
const
XAction:DefineComponent
<ExtractPropTypes
<{background
: {default
:string
;type
:PropType
<"always"
|"hover"
|"none"
>; };badge
: {type
:PropType
<string
|number
|Partial
<BadgeProps
>>; };button
: {type
:PropType
<Partial
<ButtonProps
>>; };circle
: {type
:BooleanConstructor
; };disabled
: {type
:PropType
<boolean
| () =>boolean
>; };draggable
: {type
:BooleanConstructor
; };dropdown
: {type
:PropType
<ActionDropdown
>; };icon
: {type
:PropType
<IconParam
>; };label
: {type
:StringConstructor
; };menus
: {type
:PropType
<ActionMenuItem
[]>; };mode
: {default
:string
;type
:PropType
<ActionMode
>; };name
: {type
:StringConstructor
; };size
: {default
:string
;type
:PropType
<BaseSize
>; };tooltip
: {type
:PropType
<string
|Partial
<ElTooltipProps
>>; };type
: {type
:PropType
<BaseType
>; };value
: {type
:PropType
<unknown
>; }; }>, {}, {}, {}, {},ComponentOptionsMixin
,ComponentOptionsMixin
, {click
: (props
) =>any
;command
: (item
) =>any
;dragend
: (props
,e
) =>any
;dragstart
: (props
,e
) =>any
; },string
,PublicProps
,Readonly
<ExtractPropTypes
<{background
: {default
:string
;type
:PropType
<"always"
|"hover"
|"none"
>; };badge
: {type
:PropType
<string
|number
|Partial
<BadgeProps
>>; };button
: {type
:PropType
<Partial
<ButtonProps
>>; };circle
: {type
:BooleanConstructor
; };disabled
: {type
:PropType
<boolean
| () =>boolean
>; };draggable
: {type
:BooleanConstructor
; };dropdown
: {type
:PropType
<ActionDropdown
>; };icon
: {type
:PropType
<IconParam
>; };label
: {type
:StringConstructor
; };menus
: {type
:PropType
<ActionMenuItem
[]>; };mode
: {default
:string
;type
:PropType
<ActionMode
>; };name
: {type
:StringConstructor
; };size
: {default
:string
;type
:PropType
<BaseSize
>; };tooltip
: {type
:PropType
<string
|Partial
<ElTooltipProps
>>; };type
: {type
:PropType
<BaseType
>; };value
: {type
:PropType
<unknown
>; }; }>> &Readonly
<{onClick
: (props
) =>any
;onCommand
: (item
) =>any
;onDragend
: (props
,e
) =>any
;onDragstart
: (props
,e
) =>any
; }>, {background
:"none"
|"hover"
|"always"
;circle
:boolean
;draggable
:boolean
;mode
:ActionMode
;size
:BaseSize
; }, {}, {}, {},string
,ComponentProvideOptions
,true
, {},any
>
Defined in
packages/ui/types/components/action/Action.d.ts:7