1.0.11 • Published 2 years ago

@vladislav_bagnyuk/gesture-password v1.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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' />