跳到主要内容

eo-dropdown-button

<eo-dropdown-button>
Alias: <basic.dropdown-button>

通用下拉按钮构件。

Playground

Examples

Type

Playground

Button Text & Icon

Playground

Size

Playground

Disabled

Playground

Actions & Event

Playground

Properties

NameDescriptionTypeDefaultRequired
type

按钮类型

ButtonType
actions

下拉按钮菜单

Action[]
btnText

按钮默认文字

string "管理"
icon

按钮默认图标

GeneralIconProps { lib: "antd", icon: "setting", theme: "filled" }
size

按钮大小

ComponentSize "medium"
disabled

是否禁用

boolean
shape

按钮形状

Shape

Events

NameDescriptionEvent Detail
action.click

操作点击事件

SimpleAction - SimpleAction

Type references

ButtonType

"primary" | "default" | "dashed" | "ghost" | "link" | "text" | "icon"

ComponentSize

"large" | "medium" | "small" | "xs"

Shape

"round" | "circle"