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

rowcomv2

v1.1.2

Published

``` itemData: 展示数据, 数据类型: 数组; eg: [ { itemCol: 设置a-col屏幕占比 [lg, md]; 默认 【8, 12】; 小屏固定24即一行, spanCol: 设置a-col 的span; 默认 【8, 16】; 小屏固定24即一行, sty: 每项显示类型, 详情见下面类型说明, title: 标题, required: 是否显示红色* 布尔类型 默认 false,

Downloads

150

Readme

rowcolcom 0.0.1

参数说明

itemData: 展示数据, 数据类型: 数组;
  eg: [
   {
      itemCol: 设置a-col屏幕占比 [lg, md]; 默认 【8, 12】; 小屏固定24即一行,
      spanCol: 设置a-col 的span; 默认 【8, 16】; 小屏固定24即一行,
      sty: 每项显示类型, 详情见下面类型说明,
      title: 标题,
      required: 是否显示红色* 布尔类型 默认 false,
      placeholder: 占位符,
      slot: 支持slot写法 返回字段 rowData rowIndex  slot-scope='{rowData, rowIndex}',
      val: 固定字段,不可少,
      spanColFlg: 布尔值 true表示 title和val 连着展示,
      colonFlg: 布尔值 true表示不显示: title为空也不显示,
      subGutter: title 和 val的padding值
      alignRorL: textAlign,justifyContent 对齐方式,默认 left
      style: 样式
   }
  ]

sty类型说明

 ' ' 不传显示文字
 put 对应 a-input
 number 对应 a-input-number  {
      min: 最小值,默认-Infinity
      max: 最大值,默认Infinity
      emitChange: 接收emit事件的函数名 chang事件 
 }
 area 对应 a-textarea
 range 对应 a-range-picker
 date 对应 a-date-picker
 time 对应 a-time-picker  :format="k.format || 'HH:mm:ss'"
 sel 对应 a-select {
      mode : 默认 'default',设置传 multiple,
      options : 必传  [{key: '', label: '', disabled: ''}]
      labelInValue: 见atdv
      disabled: 见atdv
      tokenSeparators: 见atdv
      emitChange: 接收emit事件的函数名 chang事件 
 }
 
 radio 对应 a-radio-group {
      options : 必传  [{key: '', label: '', disabled: ''}]
      emitChange: 接收emit事件的函数名 chang事件 
 }
 
 checkbox 对应 a-checkbox-group {
      options : 必传  [{key: '', label: '', disabled: ''}]
      emitChange: 接收emit事件的函数名 chang事件 
 }
 
 btn 对应 a-button {
      options : 必传  [{ style: 样式, type: 按钮类型,disabled: false, ghost: false   }]
      btnClick: 返回btnClick事件 { name: 按钮文字  }
 }
 
 

说明

 有需求请留言