Mottie / Keyboard

Virtual Keyboard using jQuery ~

Home Page:http://mottie.github.io/Keyboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jquery.min.js:2 Uncaught TypeError: $(...).keyboard(...).addTyping is not a function..

patson12 opened this issue · comments

i am working on electron js.. i am getting this error ..
jquery.min.js:2 Uncaught TypeError: $(...).keyboard(...).addTyping is not a function..

my code is here..

Regards thaanks

//html code

<text id="text_170807720" onclick="leftUpAction(text_170807720,17)" tag-labal="gt1" x= "208" y= "208" >####.##</text>

//java code

function leftUpAction(id, luEluPropertyquation) {
  $("#" + id).on("mouseup", function () {
   if (luEluPropertyquation[0] == 17) {
            $(document).ready(function () {
          $("#" + id)
            .keyboard({
              usePreview: true, // disabled for contenteditable
              useCombos: false,
              autoAccept: true,
              layout: "custom",
              customLayout: {
                normal: [
                  "` 1 2 3 4 5 6 7 8 9 0 - = {del} {b}",
                  "{tab} q w e r t y u i o p [ ] \\",
                  "a s d f g h j k l ; ' {enter}",
                  "{shift} z x c v b n m , . / {shift}",
                  "{accept} {space} {left} {right} {undo:Undo} {redo:Redo}",
                ],
                shift: [
                  "~ ! @ # $ % ^ & * ( ) _ + {del} {b}",
                  "{tab} Q W E R T Y U I O P { } |",
                  'A S D F G H J K L : " {enter}',
                  "{shift} Z X C V B N M < > ? {shift}",
                  "{accept} {space} {left} {right} {undo:Undo} {redo:Redo}",
                ],
              },
              display: {
                del: "\u2326:Delete",
                redo: "↻",
                undo: "↺",
              },
            })
            .addTyping();
          })}})