Skip to content

Not working on Ionic2  #24

@avongeric

Description

@avongeric

I tried using this in my ionic app as I also include jquery library. Below is was I did;

  1. npm install patternlock
  2. import * as patternLock from 'PatternLock';
  3. npm install jquery
  4. 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) } });
capture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions