npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@b1/bee-toast

v1.1.4

Published

BeeUi wepy小程序组件 - 提示框

Downloads

1

Readme

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)

  • 初始版本