H5手势解锁组件(jQuery,Vue)版本
H5lock
Demo
<script type="text/javascript" src="src/H5lock.publish.js"></script>
var opt = {
chooseType: 3, // 3 , 4 , 5,
width: 300, // lock wrap width
height: 300, // lock wrap height
container: 'element', // the id attribute of element
inputEnd: function(psw){} // when draw end param is password string
}
var lock = new H5lock(opt);
lock.init();
Option method
lock.drawStatusPoint('notright') // draw the last notright circle
lock.drawStatusPoint('right') // draw the last right circle
lock.reset() // reset the lock
Support Vue
> Address[vue-lock](https://github.com/guntertien/vue-lock)
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。