timdream / gaia-keyboard-demo

Online demo page for Mozilla Firefox OS Keyboard
https://timdream.org/gaia-keyboard-demo/
22 stars 19 forks source link

Gaia Keyboard Demo

This is a off-work fun project to bring the built-in keyboard of Mozilla Firefox OS to the web, and make available on any device.

It is also available as a drop-in library for multi-lingual websites. Try the library test and read it's source code to find out how.

Getting Started

Clone this repo, and execute the following commands:

git submodule init
git submodule update

Underneath

It pulls the keyboard codebase from Gaia, and re-implements navigator.mozInputMethod API so we could communicate between the fake input and the app.

The input has to be a fake one so the native keyboard will not pop-up when you try this page on a touchscreen.

Additionally, other missing APIs that is not provided on Safari Mobile are shimmed.