diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-12 13:00:45 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-12 13:00:45 +0200 |
| commit | 5fdb4170c92072fa5a3ee32a779bea2ed83b8ef0 (patch) | |
| tree | 231e9b316e3b1f30c815d9bcec5d8b7815625201 /Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/Scripts | |
| parent | 217fcb79fa32f858a06d8200697ddee7c5da625a (diff) | |
| download | Tango-5fdb4170c92072fa5a3ee32a779bea2ed83b8ef0.tar.gz Tango-5fdb4170c92072fa5a3ee32a779bea2ed83b8ef0.zip | |
Added more functionality to browser module.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/Scripts')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/Scripts/keyboard.js (renamed from Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/Scripts/main.js) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/Scripts/main.js b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/Scripts/keyboard.js index c43e0e272..21771eb8e 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/Scripts/main.js +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/Scripts/keyboard.js @@ -1,5 +1,5 @@ (async function () { - await CefSharp.BindObjectAsync("boundAsync", "bound"); + await CefSharp.BindObjectAsync("keyboard", "bound"); var inputs = document.getElementsByTagName('input'); var i = 0; @@ -10,10 +10,10 @@ if (type == 'text' || type == 'email' || type == 'password' || type == 'search' || type == 'date' || type == 'url' || type == 'time' || type == 'tel' || type == 'number') { inputs[i].onfocus = function () { - boundAsync.openKeyboard(type); + keyboard.openKeyboard(type); } inputs[i].onblur = function () { - boundAsync.closeKeyboard(); + keyboard.closeKeyboard(); } } } |
