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

tinper-neoui-grid

v3.2.4

Published

grid

Downloads

47

Readme

表格控件

基于iUAP Design的表格控件,应对复杂场景下的数据展示。

介绍

表格控件将数据以表格的方式进行展示,同时提供了排序、交换列、数字列、复选、合计、自定义渲染、修改等复杂功能,满足了复杂场景下数据展示的需求。

快速上手

控件使用说明

目录说明

├─css 控件css
├─dist 产出后的资源
├─docs 文档相关
├─examples 示例文件
    ├─datatable 关联datatable示例
	├─ui 单独控件示例
├─snippets 文档及代码片段
    ├─docs 文档片段
    │  ├─grid.md 文档片段:replaceui将替换为ui示例,replacedatatable将替换为datatable示例。
    └─examples 示例片段
        └─grid 与grid.md对应的目录,示例目录下必须存在widget.css,widget.html,widget.js,说明.txt
			└─datatable 关联datatable示例片段
			└─ui 单独控件示例片段
├─vendor 第三方库,后续删除
├─app.js 依据snippets中的片段生成docs以及examples中的最终产出
├─gulpfile.js 通过gulp对项目源文件(CSS/JS)生成dist中的最终产出
├─package.json node说明
└─README.md 项目说明

snippets详细说明:

docs 目录与 examples 目录结构需要对应:docsmd 文件在 examples 对应目录下存在同样名称的文件夹,并且此文件夹下面包含 datatable 以及 `ui 文件夹用于存放对应示例片段

  • 示例1:
docs/grid.md

examples/examples/grid/datatable以及examples/examples/grid/ui
  • 示例2:
docs/dir/grid.md

examples/examples/dir/grid/datatable以及examples/examples/dir/grid/ui

CONTRUBUTE

针对控件进行开发,修改css以及js文件之后通过调用gulp dist来生成项目产出

$ gulp dist

示例及文档开发过程说明:

针对示例及文档进行开发,修改snippets文件之后通过node app.js来生成示例及文档产出

$ node app.js