micro-element-plus-extra
TypeScript icon, indicating that this package has built-in type declarations

1.7.2 • Public • Published

Micro element plus extra

注:对 element plus 的一些扩展,方便使用。

Button

属性名 说明 类型
label 按钮内容 string
type 按钮类型 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text'
size 按钮大小 'large' | 'small' | 'default'
loading 是否为加载中状态 boolean
disabled 是否为禁止中状态 boolean
isThrottle 是否节流 boolean
icon 按钮前面的 icon VNode | object
tooltip 按钮上方的提示 string
disabledTip 按钮禁止时上方的提示 string
confirm 弹出框 和 文字提示 的配置 IDialogProps | string
onClick 点击事件 Function

ButtonOps

属性名 说明 类型
items 按钮集合 Button
type 按钮类型 - LP 'primary' |'success' |'warning' |'danger' |'info' |'text'
disabled 是否为禁止中状态 - LP boolean
maxVisible 最多可见个数,其余的收起 number
extra 额外的组件,放在按钮列表末尾 VNode |object

Package Sidebar

Install

npm i micro-element-plus-extra

Weekly Downloads

305

Version

1.7.2

License

ISC

Unpacked Size

747 kB

Total Files

401

Last publish

Collaborators

  • not-have-warehouse