MCPcopy
hub / github.com/Tencent/weui.js

github.com/Tencent/weui.js @v1.2.28 sqlite

repository ↗ · DeepWiki ↗ · release v1.2.28 ↗
77 symbols 158 edges 38 files 27 documented · 35%
README

weui.js

npm version

概述

WeUI 的轻量级 js 封装。

注意:由于微信小程序不支持dom操作,所以weui.js并不适用于小程序。不过WeUI也为小程序开发了另外的版本,详情请看:https://github.com/Tencent/weui-wxss/

手机预览

https://weui.io

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

开发

安装

git clone https://github.com/Tencent/weui.js.git
cd weui.js
npm install
npm start

编译

npm run build

使用

global

<link rel="stylesheet" href="https://res.wx.qq.com/t/wx_fed/weui-source/res/2.5.16/weui.min.css">
<script type="text/javascript" src="https://res.wx.qq.com/t/wx_fed/weui.js/res/1.2.21/weui.min.js"></script>
<script type="text/javascript">
    weui.alert('alert');
</script>

import as module

import 'weui';
import weui from 'weui.js';

weui.alert('alert');

文档

Documents

贡献

如果你有好的意见或建议,欢迎给我们提issue或pull request。

License

The MIT License(http://opensource.org/licenses/MIT)

请自由地享受和参与开源

Core symbols most depended-on inside this repo

stop
called by 5
src/picker/scroll.js
hide
called by 4
src/picker/picker.js
hide
called by 4
src/actionSheet/actionSheet.js
setTranslate
called by 3
src/picker/scroll.js
setHandler
called by 3
src/slider/slider.js
cancelSearch
called by 2
src/searchBar/searchBar.js
scroll
called by 2
src/picker/picker.js
findBy
called by 2
src/picker/picker.js

Shape

Function 71
Method 4
Class 2

Languages

TypeScript100%

Modules by API surface

src/picker/scroll.js10 symbols
src/picker/picker.js8 symbols
src/picker/cron.js8 symbols
src/uploader/image.js6 symbols
src/form/form.js6 symbols
src/uploader/uploader.js4 symbols
src/topTips/topTips.js3 symbols
src/slider/slider.js3 symbols
src/loading/loading.js3 symbols
src/gallery/gallery.js3 symbols
src/dialog/dialog.js3 symbols
src/actionSheet/actionSheet.js3 symbols

Dependencies from manifests, versioned

autoprefixer6.5.0 · 1×
babel-core6.9.0 · 1×
babel-loader6.2.4 · 1×
babel-plugin-add-module-exports0.2.1 · 1×
babel-preset-es20156.6.0 · 1×
babel-preset-stage-36.5.0 · 1×
balajs0.1.9 · 1×
css-loader0.25.0 · 1×
element-closest2.0.1 · 1×
eslint3.7.1 · 1×
express4.14.0 · 1×
fastclick1.0.6 · 1×

For agents

$ claude mcp add weui.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact