Mottie / Keyboard

Virtual Keyboard using jQuery ~
http://mottie.github.io/Keyboard/
Other
1.77k stars 722 forks source link

Enable/Disable Keyboard Function Programmatically #826

Open joeclarkia opened 1 year ago

joeclarkia commented 1 year ago

I would like to have a checkbox menu item on my web site to "Use Virtual Keyboard" or not. So, I'm searching for a way to disable its visibility (not just disable the controls, so not just toggle()). Somewhat surprisingly, I don't see any way to do this.

The obvious mechanism I tried is:

But this doesn't do anything -- apparently the option is only useful during initialization.

Are there any other mechanisms available short of destroy()ing and rebuilding the keyboard (I have a lot of input fields, with different custom layouts, so that doesn't seem very efficient) ?