Skip to content

@vtj


@vtj / ui / actionProps

Variable: actionProps ​

const actionProps: object

Defined in: packages/ui/types/components/action/types.d.ts:15

Type Declaration ​

arrow ​

arrow: object

arrow.type ​

type: BooleanConstructor

background ​

background: object

icon 背景设置,当 mode为 icon 时有效

background.default ​

default: string

background.type ​

type: PropType<"always" | "hover" | "none">

badge ​

badge: object

Badge 配置

badge.type ​

type: PropType<string | number | Partial<BadgeProps>>

button ​

button: object

ElButton 组件配置,mode为button时有效

button.type ​

type: PropType<Partial<ButtonProps>>

circle ​

circle: object

icon 背景样式圆形,当 mode为 icon 时有效

circle.type ​

type: BooleanConstructor

disabled ​

disabled: object

禁用

disabled.type ​

type: PropType<boolean | () => boolean>

draggable ​

draggable: object

draggable.type ​

type: BooleanConstructor

dropdown: object

ElDropdown 组件配置

type: PropType<ActionDropdown>

icon ​

icon: object

图标配置

icon.type ​

type: PropType<IconParam>

label ​

label: object

动作标题文本

label.type ​

type: StringConstructor

menus: object

下拉菜单配置

type: PropType<ActionMenuItem[]>

mode ​

mode: object

模式

mode.default ​

default: string

mode.type ​

type: PropType<ActionMode>

name ​

name: object

动作名称标识

name.type ​

type: StringConstructor

size ​

size: object

尺寸

size.default ​

default: string

size.type ​

type: PropType<BaseSize>

tooltip ​

tooltip: object

tooltip 配置

tooltip.type ​

type: PropType<string | Partial<ElTooltipProps>>

type ​

type: object

颜色类型

type.type ​

type: PropType<BaseType>

value ​

value: object

动作值,用来传输数据

value.type ​

type: PropType<unknown>