Comments (2)
Thanks for using KeymanWeb :)
I think this change would need to be added to the KeymanWeb code, but I am
going to be stuck for time in the next couple of months to investigate. It
is possible to synthesize OnChange events, e.g. see
http://stackoverflow.com/questions/2490825/how-to-trigger-event-in-javascript
(that result is a little dated; you don't need to worry about the
IE-specific solution any more). I would be willing to review a pull request
that makes this change to the on screen keyboard if you are up for that.
On 5 May 2016 at 10:37, dy2288 [email protected] wrote:
Hi,
Thanks for the great library!
We're using Version 1.0 and are considering moving to version 2.0 (which
I'm currently testing), however we're facing an issue with using the
keyboard in an application that relies on onChange events firing (for
example - in a 3rd party library like this
https://github.com/gcanti/tcomb-form).As you probably know, onChange events only fire when an input is
manipulated via a user action, however we need these to fire when someone
clicks one of the keys in the virtual keyboard.While I can track typed-values using code like this:
{code}
myInput.addEventListener(
'keyup',
function() { console.log('test') },
false);
{code}I can't seem to figure out how to listen to the event that corresponds to
someone clicking a key via the moust (or for the matter, can't find a way
to manually trigger an onChange event via KeyManWeb). Tried adding event
listeners via kmw.addEventListener and kmw.osk.addEventListener, and had a
through read of the documentation.Any help would be appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#42
from keyman.
Thanks for the reply. We're looking at a few workarounds, but I'd love to make a pull request once things settle here. Time is of course a factor as well.
from keyman.
Related Issues (20)
- question(web): how to handle Developer's use of Web's `InlinedOSK` 🧩 HOT 1
- chore(core): Update requirements to C++ 17
- bug(windows): Non Roman Characters appears in the Notepad <Untitled- file name> field If I use Keyman Keyboard in Windows 11 OS HOT 1
- bug(windows): Myanmar3 (SIL) and Microsoft Teams HOT 1
- chore(windows): review n purge window/src/support projects
- bug(windows): texteditor symbols fail to build
- bug(linux): Backspace doesn't work properly with text selection HOT 4
- bug(linux): context not picked up in Gnome Text Editor HOT 4
- bug(developer): eslint fails
- bug(ios/app): Long-press options in the top row appear directly under finger HOT 1
- feat(common): Add Support for Simple Misspelling Aliases to lexical models HOT 5
- bug(windows): Keyman Unable to Enter Text in MS Word Dialogs HOT 4
- bug(iOS): Double clicking the New Search link button shows 'Connection Error' message under Installed Languages view HOT 1
- bug(android): publish to play store failed with missing gradlew for 17.0.110
- chore(developer): package compiler should warn on _any_ missing resources
- bug(web): listInputs vs isKMWInput - different accepted types of HTMLInputElement
- chore(developer): `SetError` is a macro that emits `return FALSE;` Please remove
- feat: Show Developer Defined Hint Symbol When Longpress is not Present HOT 2
- bug(iOS): Crash while trying to open FirstVoices App in the iPhone / iPad Simulators HOT 4
- chore(web): eliminate UI-module proto-minification artifacts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keyman.