You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using this in my ionic app as I also include jquery library. Below is was I did;
npm install patternlock
import * as patternLock from 'PatternLock';
npm install jquery
import $ from "jquery";
With the above, I do the initialization like this but nothin work. It just some the SVG tag I included on the html which doesnt enable me to draw the pattern:
var lockset = new patternLock("#patternHolder7", { onPattern: function (pattern) { // Context is the pattern lock instance console.log(pattern) } });
The text was updated successfully, but these errors were encountered:
and copy the css from patternlock node module to the same page like lockPage.ts
in
ngAfterViewInit(): any {
this.lockset = new PatternLock("#patternHolder7", {
matrix: [4, 4]
});
}
I tried using this in my ionic app as I also include jquery library. Below is was I did;
With the above, I do the initialization like this but nothin work. It just some the SVG tag I included on the html which doesnt enable me to draw the pattern:
var lockset = new patternLock("#patternHolder7", { onPattern: function (pattern) { // Context is the pattern lock instance console.log(pattern) } });
The text was updated successfully, but these errors were encountered: