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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ht-components-taro-v3

v1.1.11

Published

基于 Rollup 构建的 Taro 多端组件库

Downloads

63

Readme

h5使用esm,小程序使用cjs

HTScrollView

组件宽高均为100%,由父元素的宽高决定

参数

| 参数 | 类型 | 含义 | 必填 | 默认值 | | :------: | :-------: | :-------: | :------: | :------: | | ajaxFn | function | 请求函数 | 是 | - | | api | string | 请求接口 - h5环境下使用 | 是 | - | | method | string | 请求方法,默认GET | 是 | 'GET' | | resListKey | string | 返回数据列表的key | 是 | - | | renderItemFn | function | 列表项渲染函数,函数参数为item, index, list | 是 | - | | className | string | 组件内层View的自定义类名 | - | - | | scrollClassName | string | 最外层scrollView的自定义类名 | - | - | | isShowNoMoreDataTips | boolean | 是否显示没有更多数据的提示,默认显示 | - | true | | noMoreDataTipsText | string | 没有更多数据的提示内容 | - | '没有更多数据了' | | ajaxData | object | 额外的请求参数 | - | {} | | limit | number | 每次请求的数据条数,默认10 | - | 10 | | dealReqDataFn | function | 请求回来的数据处理函数 | - | - | | onReqErrorFn | function | 请求失败回调函数 | - | - | | renderEmptyFn | function | 无数据时的空状态渲染函数 | - | - |

方法

| 方法 | 含义 | 参数 | | :------: | :-------: | :-------: | | changeList | 处理数据的方法 | dealFn处理,传入list,处理后return newList | | search | 第一页开始重新搜索 | - |