New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@b1/bee-toast

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@b1/bee-toast

BeeUi wepy小程序组件 - 提示框

latest
Source
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

bee-toast

BeeUi 小程序组件 - 提示框

Install

$ bee install @b1/bee-toast

API

Toast【props】

名称描述
is-show[说明]: toast 显示控制字段。
类型:Boolean
默认值:false
text[说明]:提示的文案,必填。
类型:String
默认值:""
icon[说明]:图标。
类型:String
默认值:""
可选值详见 wxc-icon 组件中的 type 属性
icon-image[说明]:【已废弃,请使用 src 】自定义图标图片的路径,优先级高于 icon。
类型:String
默认值:""
src[说明]:自定义图标图片的路径,优先级高于 icon。
类型:String
默认值:""
icon-color[说明]:图标颜色。
类型:String
默认值:"#fff"
duration[说明]:提示的延迟时间,单位毫秒。
类型:Number
默认值:2000
bind:success[说明]:调用成功的回调函数。

Toast【methods】

名称描述
show(msg)[说明]:显示toast。
[类型]:Function
[参数]:String
[返回]:void

Preview

toast

ChangeLog

v1.0.8(2018.03.29)

  • show() 方法增加 message 参数

v1.0.7(2018.01.16)

  • icon-image 属性更改为 src,1.0.7 及以上版本的 min 支持本地图片路径

v1.0.6(2018.01.09)

  • z-index 层级规范方案修改

v1.0.3(2018.01.04)

  • 修复自定义 icon 时,icon 的颜色样式问题,规范 z-index 规范

v1.0.2(2017.11.02)

  • update .npmignore

v1.0.1(2017.10.24)

  • 初始版本

FAQs

Package last updated on 07 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts