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

pteller-directives

v1.0.66

Published

手输数据后进行自动补全,可向左插入补全或者向右插入补全, ### 使用方法: 在input上使用 v-autoCompletion="{value:'a',digit:8,alignment:0}" ### 传递参数: v-autoCompletion="{value:'a',digit:8,alignment:0}" v-autoCompletion="{value:0,digit:8,alignment:0}" 不传参数则写为v-autoCom

Downloads

19

Readme

柜面指令集(使用方法)

自动补全

功能:

  手输数据后进行自动补全,可向左插入补全或者向右插入补全,

使用方法:

    在input上使用 v-autoCompletion="{value:'a',digit:8,alignment:0}"

传递参数:

v-autoCompletion="{value:'a',digit:8,alignment:0}" 
v-autoCompletion="{value:0,digit:8,alignment:0}" 
不传参数则写为v-autoCompletion="{}"

参数类型:

value:用来补全的值 String|Number
digit:一共多少位数Number
alignment:对齐方式(0左对齐,1右对齐 默认右对齐)Number。

注意:

   1、这里需要补全的数据如果有精度则小数点算作一位。
   2、如果digit 参数不传则默认补全input的最大输入长度。
   3、输入位数不能超过最大补全位数。
   4、如果digit 参数不传并且input没有最大输入长度则默认为digit为8。
   5、如果value参数不传则默认为0。

多选/单选Tbale

功能:

  将选中的table行的值保存在数组中,

使用方法:

    在input上使用 
     v-table-check.input="{list:params.flist1,callback:paramsflist1Callback}" 这个是输入表格
     v-table-check.output="{list:result.flist1,callback:resultflist1Callback,uniqueKey:['']}" 这个是输出表格
     注意这里的输入输出表格传递的参数是不一致的

传递参数:

注意这里的输入输出表格传递的参数是不一致的
输入
v-table-check.input="{list:params.flist1,callback:paramsflist1Callback}" 
输出
v-table-check.output="{list:result.flist1,callback:resultflist1Callback,uniqueKey:['']}"

这里这个list 传递的是表格的数组
callback 传递的是 你点击后触发的回调函数
uniqueKey 是输出表格必输的(因为这里输出表格需要判断分页的情况,这里传递的应该是选中字段的某一个数据去保证这个key是唯一的,这里也可以选择多个数据)

参数类型:

null

注意:

这里需要配合工具使用,工具中需要传递几个参数
第一个多选引用的意思是将你多选的值赋给哪一个变量,一般需要自定义参数后去赋给他

第二个参数 多选唯一标识,这个输出表格填写就可以,这里需要传一个数组,里面是字符串类型的变量名这个变量名就是你table中的v-model绑定的字段可以传递多个