Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luanrafael/JLogam
JavaScript Library for Open Gestures Acessibility Mobile
https://github.com/luanrafael/JLogam
Last synced: about 1 month ago
JSON representation
JavaScript Library for Open Gestures Acessibility Mobile
- Host: GitHub
- URL: https://github.com/luanrafael/JLogam
- Owner: luanrafael
- Created: 2013-12-12T12:15:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-15T15:41:58.000Z (over 9 years ago)
- Last Synced: 2024-02-13T01:09:29.978Z (5 months ago)
- Language: JavaScript
- Homepage: http://luanrafael.github.io/JLogam
- Size: 1.07 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-accessibility - JLogam - JavaScript Library for Open Gestures Acessibility Mobile (Plugins)
README
JLogam
======JLogam - JavaScript Library for Open Gestures Acessibility Mobile
JLogam is a HTML 5 project to provide gesture based interfaces for mobile applications.
Using JLogam:
=====================| Gesture | on | off |
|---------------|-----------------------------------------|----------------------|
| cheers | JLogam.on("cheers",function(){})) | JLogam.off("cheers") |
| yes | JLogam.on("yes",function(){})) | JLogam.off("yes") |
| no | JLogam.on("no",function(){})) | JLogam.off("no") |
| victory | JLogam.on("victory",function(){})) | JLogam.off("victory")|
| front | JLogam.on("front",function(){})) | JLogam.off("front") |
| back | JLogam.on("back",function(){})) | JLogam.off("back") |
| left | JLogam.on("left",function(){})) | JLogam.off("left") |
| right | JLogam.on("right",function(){})) | JLogam.off("right") |First use de function JLogam.setup() to configure JLogam. This function returns true when the library is supported by the browser.
Later you can set the listener for a gesture using the function as the example below:
JLogam.on(
"cheers",
function(){
alert("I'm using the JLogam");
}
);-----------------------------------------------------
Page:
-----
* http://luanrafael.github.io/JLogam/Jsfiddle - demo:
---------------
* http://jsfiddle.net/luanrafael/tMqLk/