0.0.1 • Published 4 years ago

i-status-dot.vue v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

IStatusDot 状态点

显示状态

示例

基本用法

<i-status-dot color="success">成功</i-status-dot>
<i-status-dot color="error">失败</i-status-dot>
<i-status-dot color="warn">异常</i-status-dot>
<i-status-dot color="warn" hover>异常</i-status-dot>

API

Props/Attrs

Prop/AttrTypeOptionsDefaultDescription
colorstring颜色状态(success、process、warn、error)
hoverbooleanfalse是否需要 hover 状态

Slots

(default)

插入文本或 HTML。