Home

Awesome

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:

Gestureonoff
cheersJLogam.on("cheers",function(){}))JLogam.off("cheers")
yesJLogam.on("yes",function(){}))JLogam.off("yes")
noJLogam.on("no",function(){}))JLogam.off("no")
victoryJLogam.on("victory",function(){}))JLogam.off("victory")
frontJLogam.on("front",function(){}))JLogam.off("front")
backJLogam.on("back",function(){}))JLogam.off("back")
leftJLogam.on("left",function(){}))JLogam.off("left")
rightJLogam.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:

Jsfiddle - demo: