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

vic-fork-vue-select-page

v1.0.17

Published

fork the v-selectpage, root component can pass page param to sub component, and exec some method.

Downloads

7

Readme

说明

​此项目是一个v-selectpage的fork项目,只是v-selectpage很多不适用于本人,所以稍加改制,主要是将分页网络获取自己手动操作了,由父组件下发静态数据到本组件中进行操作。并且内部picked方法增加了locked锁定,避免了input的二次提交。

注意

参数和事件都和v-selectpage组件一样,只是新增了几个参数和事件。

新增参数

| 参数名 | 必填 | 类型 | 默认值 | 备注 | | ------------ | ----- | ------- | ------ | ------------------ | | show-title | false | Boolean | false | 是否显示标题 | | show-title-btn | false | Boolean | false | 是否显示标题栏按钮 | | show-search | false | Boolean | false | 是否显示搜索框 | | page-number | true | Number | 1 | 当前页码 | | total-rows | true | Number | 0 | 数据量总数 |

新增事件

| 事件名 | 传入参数 | 传入类型 | 返回 | 备注 | | ------ | -------- | -------- | ---- | ------------------------------------------ | | page | pagenum | Number | 无 | 翻页事件,可在此函数直接网络获取指定页数据 |

修改部分

  1. 修改方法-selectItem:新增了单选提交,保障了单选的提交有效性。

本项目

原项目