Skip to content

Sonner 轻提示 ​

提供可关闭、可自动消失的状态通知。

vue
<ll-sonner v-model:open="notice" title="已保存" tone="success" />

Attributes ​

参数说明类型可选值默认值
open可见状态boolean—必填
title标题string—必填
description补充说明string——
duration自动关闭毫秒,0 表示手动number—4000
tone状态色default / success / error—default

Events ​

事件名称说明
update:open手动或定时关闭后请求 false