eo-dropdown-button
<eo-dropdown-button>
Alias:
<basic.dropdown-button>
通用下拉按钮构件。
Examples
Type
Button Text & Icon
Size
Disabled
Actions & Event
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
type | 按钮类型 | ButtonType | ||
actions | 下拉按钮菜单 | Action[] | ||
btnText | 按钮默认文字 | string | "管理" | |
icon | 按钮默认图标 | GeneralIconProps | { lib: "antd", icon: "setting", theme: "filled" } | |
size | 按钮大小 | ComponentSize | "medium" | |
disabled | 是否禁用 | boolean | ||
shape | 按钮形状 | Shape |
Events
Name | Description | Event Detail |
---|---|---|
action.click | 操作点击事件 | SimpleAction - SimpleAction |
Type references
ButtonType
"primary" | "default" | "dashed" | "ghost" | "link" | "text" | "icon"
ComponentSize
"large" | "medium" | "small" | "xs"
Shape
"round" | "circle"