凡科建站

weui.js:WeUI 的轻量级 js 封装。

文章目录[隐藏]

WPJAM TOC

概述

weui.js 是 WeUI 的轻量级js封装,不需要依赖其它库,gzip后仅有9.0KB。

weui.js

组件

actionsheet
alert
confirm
dialog
form
gallery
loading
picker
searchbar
slider
tab
toast
toptips
uploader

使用


<link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/1.1.0/weui.min.css">
<script type="text/javascript" src="dist/weui.min.js"></script>
<script type="text/javascript">
    weui.alert('alert');
</script>

Github

https://github.com/weui/weui.js

Demo

https://weui.io/weui.js/

标签:

热门文章