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

@minui/wxc-search

v1.0.1

Published

搜索栏 - 小程序组件

Downloads

5

Readme

wxc-search

搜索栏 - 小程序组件

Install

$ min install @minui/wxc-search

API

Search

| 名称 | 描述 | |----------------------|------------------------------| |show-icon | [说明]:是否显示 search 图标。[类型]:Boolean[默认值]:true | |show-clear | [说明]:是否显示清除图标。[类型]:Boolean[默认值]:true | |icon-color | [说明]:search 图标的颜色。[类型]:String[默认值]:#bbb | |ph-color | [说明]:placeholder 的颜色。[类型]:String[默认值]:#bbb | |bg-color | [说明]:搜索栏的背景颜色。[类型]:String[默认值]:#f6f6f6 | |color | [说明]:搜索栏输入框字体颜色。[类型]:String[默认值]:#333 | |radius | [说明]:搜索栏 border-radius[类型]:Number[默认值]:6 | |placeholder | [说明]:搜索栏 placeholder[类型]:String[默认值]:搜索 | |mode | [说明]:搜索栏模式。[类型]:String[可选值]:normal,输入模式;static,静态模式,无输入框。[默认值]:normal | |align | [说明]:静态模式下搜索栏内容对齐方式。[类型]:String[可选值]:left,向左对齐;center,居中。[默认值]:left | |button | [说明]:搜索按钮文案。不设置文案时不显示搜索按钮[类型]:String[默认值]:"" | |btn-color | [说明]:搜索按钮文字颜色。[类型]:String[默认值]:#333 | |bind:input | [说明]:当键盘输入时,触发 input 事件,event.detail = {value, cursor}| |bind:confirm | [说明]:点击搜索或键盘右下角按钮,触发 confirm 事件,event.detail = {value: value}| |bind:submit | [说明]:搜索栏组件中内置 form 表单,点击搜索按钮时触发 submit 事件,可用于获取 formId 等,event.detail = {value, formId}|

ChangeLog

v1.0.0(2018-4-9)

  • 初始版本