svelte notification:苗条的组件 源码
苗条的通知 苗条的组件 安装 $ npm i -S @tadashi/svelte-notification 原料药 actions.add(notification:Object):无效 通知 财产 类型 必需的 默认 描述 模式 细绳 不 '普通的' 箱型 信息 细绳 不 '' 框内消息 一生 数字 不 0 在几秒钟内自动毁灭 用法 您可以在此处查看示例: : < script > import { Notifications , acts } from ' @tadashi/svelte-notification ' function add ( notification ) { return () => { acts . add (notification) } } let triggers = [ {mode :
下载地址
用户评论