@alitajs/gesture-password
v1.3.0
Published
Gesture password(手势密码)
Downloads
195
Keywords
Readme
install
// npm
npm install @alitajs/gesture-password --save
// yarn
yarn add @alitajs/gesture-password
usage
import GesturePassword from '@alitajs/gesture-password';
const config = {
id: 'gesture',
width: 375,
height: 300,
onChange: (data: any) => console.log(data) // get gesture password
}
const gesturePassword = new GesturePassword(config)
<canvas id='gesture' />