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

yi-frames-js

v1.8.1

Published

The javaScript widgets and widgets for Yi-Frames

Downloads

12

Readme

#yi-frames-js NPM version Build Status Dependency Status Coverage percentage

The UI widgets of Yi-Frames

安装Yi-frames脚手架

First, 使用cnpm/npm/yarn 全局安装 Yeoman & generator-yi-frames.

cnpm i -g yo
cnpm i -g generator-yi-frames

Second,安装Yi-frames-js

  • 同脚手架模板一起安装:下载脚手架模板到项目文件夹,自带yi-frames-ui模块:
yo yi-frames

* 单独安装
cnpm i --S yi-frames-js@版本号

[email protected]介绍

功能目录:
——ui:
1.pagination: 分页组件
2.dropLayer: 下拉菜单
——ui/swiper
	[email protected] 滑动轮播
	[email protected] (forIE)
5.tabs 选项卡
——ui/echarts
	[email protected] 可视化图标
	[email protected] (forIE)
8. subNav 竖式伸缩导航栏
9.上拉加载更多&下拉刷新
10.drag拖拽

——utils:
1.exp: 正则验证工具(支持手机号、邮箱、姓名等验证)
2.ua: 用户代理监测
3.countdown: 倒计时
4.html2img: 网页截图(配合[email protected])
[email protected] 解决移动端点击事件的300毫秒延迟
[email protected] 用户上传头像与手势截图
[email protected] 生成二维码
[email protected] js实用程序库
[email protected] 网页生成pdf文件(配合[email protected])
10.yiframesjsbridge js调取app原生功能
11.date 日期、时间处理的一些方法
12.dealURL url取参的处理,支持vue项目的hash模式下url的处理

——base:
1.getClass: 获取指定元素下所有指定类名的元素
2.eventUtil: DOM2级事件处理程序

组件功能及使用说明:
  http://ep-svnserver30.tech.bitauto.com/FE/yi-widget/yi-frames-js/dist/html/demo/index.html

最新版更新说明:
	使用es6语法(import和export/export default、promise等)
	修改引入方式为 import {} from 'path/path';

License

MIT © 贾时龙Mapk Volkov