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

linxuda-ui

v1.0.0

Published

<!-- * @Author: linxuda [email protected] * @Date: 2023-08-01 11:00:07 * @LastEditors: linxuda [email protected] * @LastEditTime: 2023-08-01 16:40:31 * @FilePath: /element-plus-vite-starter/README.md * @Description: * * Copyright (c)

Downloads

65

Readme

ux-pc-public-ui

Document & Online preview

ux-pc-public-ui

element-plus文档

Install & Use

pnpm i ux-pc-public-ui
# or
npm install ux-pc-public-ui
# or
yarn add ux-pc-public-ui

Import and register component

Global

import { createApp } from 'vue'
import App from './App.vue'

import UxPcPublicUI from 'ux-pc-public-ui'
import 'ux-pc-public-ui/css'

const app = createApp(App)
app.use(UxPcPublicUI)

Local

<script setup lang="ts">
import { Button } from 'ux-pc-public-ui'
import 'ux-pc-public-ui/css'
</script>

Project

  • Get the project code
git clone https://github.com/themusecatcher/vue-amazing-ui.git
  • Install dependencies
cd ux-pc-public-ui

pnpm i
  • Run project
pnpm dev

组件列表

-所有组件均继承element-plus的已有属性,额外属性会在下方说明 Component name | Descriptions -- | -- UxButton | 按钮

UxButton 按钮

属性名 | 说明 | 类型 | 默认值 -- | -- | -- | --

Functions --未开发

方法 | 描述 | 参数 -- | -- | -- dateFormat | 简单易用的日期格式化函数! | (timestamp: number|string|Date, format = 'YYYY-MM-DD HH:mm:ss') => string requestAnimationFrame | 针对不同浏览器进行兼容处理! | 使用方式不变 cancelAnimationFrame | 针对不同浏览器进行兼容处理! | 使用方式不变 rafTimeout | 使用 requestAnimationFrame 实现的定时器函数,等效替代 (setTimeout 和 setInterval)! | (func: Function, delay = 0, interval = false) => object cancelRaf | 用于取消 rafTimeout 函数! | (raf: { id: number }) => void throttle | 使用 rafTimeout 实现的节流函数! | (fn: Function, delay = 300) => any debounce | 使用 rafTimeout 实现的防抖函数! | (fn: Function, delay = 300) => any add | 消除js加减精度问题的加法函数! | (num1: number, num2: number) => number downloadFile | 下载文件并自定义文件名! | (url: string, name: string) => void