Is there a way to control iOS functionality in JavaScript?

Asked 2 years ago, Updated 2 years ago, 40 views

I want to make a software keyboard that is easy to write programming on the iPad.
I can make a software keyboard with HTML and JavaScript, but
I would like to use that keyboard on my iPad.
The software keyboard itself can be checked on the iPad, but with iOS, the traditional keyboard will come out as well.
I'd like to turn off this automatic feature.
Can JavaScript control iOS?

Please tell me how to suppress the keyboard that automatically appears when I touch textarea on my iPad with JavaScript and HTML.
Thank you for your cooperation.

javascript ios html

2022-09-29 22:34

1 Answers

There is a library called Cordova, but there may be a way to control it.

Can JavaScript prevent the keyboard from displaying with the following descriptions?

let foo=function(evt){
  evt.preventDefault();
  evt.stopPropagation();
  // Write a continuation process from here...
}

textareaDOMObject.addEventListener('click', foo, false);


2022-09-29 22:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.