-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
jQuery Thaana KeyHandling | ||
============================ | ||
|
||
jQuery Plugin to manipulate thaana keyboard. Supports mobile platforms such as android, ios and all major desktop browsers. However please | ||
be informed that this plugin is highly in experimental state. | ||
|
||
## Usage | ||
|
||
$('.classname').thaana(); | ||
$('#elementId').thaana(); | ||
$('elementname').thaana(); | ||
|
||
**To change default keyboard layout:** | ||
**Default** | ||
$('.thaana').thaana({keyboard: 'phonetic'}); | ||
or | ||
$('.thaana').thaana({keyboard: 'typewriter'}); | ||
|
||
## Notice | ||
|
||
Compatibility with mobile browsers, especially Android browsers are achieved by sacrificing keyboard event, as some browsers does not fire events as how it should. There might be issues while pasting, | ||
line breaks and backspacing. Mostly in Chrome. | ||
|
||
Working on alternatives for further improvement ;) |