wx-stabilitycheck

0.0.3 • Public • Published

说明

微信小程序检测手机握持稳定性的库,可用于相机拍照等场景

用法

import StabilityCheck from 'wx-stabilitycheck'

const stabilityCheck = new StabilityCheck();

stabilityCheck.onStabilityChange((status) => {
    console.log('Current status of device is stability: ', status);
})

stabilityCheck.start();

// when leave page
stabilityCheck.stop();

Readme

Keywords

Package Sidebar

Install

npm i wx-stabilitycheck

Weekly Downloads

4

Version

0.0.3

License

ISC

Unpacked Size

3.61 kB

Total Files

3

Last publish

Collaborators

  • yuu2lee4