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

wait-for-a-ha

v0.0.2

Published

等一哈!!!别动手!!!

Downloads

6

Readme

wait-for-a-ha

等一哈!!!

安装命令同样肥肠简单

$ npm install --save wait-for-a-ha

同样随时发布,请保持更新

同样使用过程中如果有小小的bug也不要着急,不要试图联系我,联系到我我也不准备改

再次撒花~~~

一个简陋的文档

waitA

基础样式:

<wait-a></wait-a>

削微风骚一点的样式:

<wait-a
  :scale="3"
  :border="false"
  colorA="#00ff00"
  colorB="#ff0000"
  colorC="#0000ff">
</wait-a>

初始状态从左到右三个小球分别记做ABC,详细参数列表如下:

| 参数 | 说明 | 类型 | 可选值 | 默认值 | | - | - | - | - | - | | scale | 用于设置组件大小,该值为缩放比例,本组件原始为 100*100,若 scale 值设置为3,则渲染组件大小为 300*300 | number | - | 1 | | border | 小球是否有边框 | boolean | - | true | | radius | 用于设置小球大小,该值为缩放比例;小球原始半径为 5,若 radius 值设置为2,则渲染小球半径为 10;若 radius 值设置为 [1, 2, 1],则渲染小球半径分别为 5,10,5 | number/array | - | [1, 1, 1] | | colorA | 小球A填充颜色 | String | - | #000000 | | borderColorA | 小球A边框颜色,若 border 为 false,此值无效 | String | - | #000000 | | colorB | 小球B填充颜色 | String | - | #000000 | | borderColorB | 小球B边框颜色,若 border 为 false,此值无效 | String | - | #000000 | | colorC | 小球C填充颜色 | String | - | transparent | | borderColorC | 小球C边框颜色,若 border 为 false,此值无效 | String | - | #000000 |


waitB

基础样式:

<wait-b></wait-b>

削微风骚一点的样式:

<wait-b
  :scale="3"
  colorA="#00ff00"
  colorB="#ff0000"
  colorC="#0000ff">
</wait-b>

与前文一致,ABC分别代表左中右三个球,详细参数列表如下:

| 参数 | 说明 | 类型 | 可选值 | 默认值 | | - | - | - | - | - | | scale | 用于设置组件大小,该值为缩放比例,本组件原始为 100*100,若 scale 值设置为3,则渲染组件大小为 300*300 | number | - | 1 | | radius | 用于设置初始小球大小,该值为缩放比例;小球原始半径为 5,若 radius 值设置为2,则渲染小球半径为 10;若 radius 值设置为 [1, 2, 1],则渲染小球半径分别为 5,10,5 | number/array | - | [1, 1, 1] | | reRadius | 用于设置变化后小球大小,除却小球原始半径为 6,其余用法与上文一致, | number/array | - | [1, 1, 1] | | colorA | 小球A填充颜色 | String | - | #000000 | | colorB | 小球B填充颜色 | String | - | #000000 | | colorC | 小球C填充颜色 | String | - | #000000 |


waitC

基础样式:

<wait-c></wait-c>

削微风骚一点的样式:

<wait-c
  :scale="3"
  :border="false"
  colorA="#00ff00"
  colorB="#ff0000"
  colorC="#0000ff">
</wait-c>

聪明的你眉头一皱,发自内心的感叹脱口而出“cnm你玩呢,这不是跟waitA一样吗”。

我可以告诉你,没错尽管各个参数名称、默认值、使用方法都一样,但这两组还是削微有一点小小的区别的。

详细参数列表见 waitA。