wechat-ready
v0.0.1
Published
wechat ready similar to jquery $(()=>{})
Downloads
5
Maintainers
Readme
wechat-ready
用于在微信中特定事件监听或调用, 如用于微信视频自动播放, 音频自动播放等
安装
npm install wechat-ready -S
基本用例
import wechatReady from 'wechat-ready';
wechatReady(()=> {
document.getElementById('video').play();
});
作者
She Ailun