I’d like a function under LL.getEvent() that returns the action that called the event.

I’d like a function under LL.getEvent() that returns the action that called the event.. It’d say something like “swipe left” or “position changed”..

The idea being so we can use the same script for related actions rather than creating multiple scripts

if(LL.getEvent().getType()==”tap”) {

functionA();

}

else{

functionB();

}

You get the idea

]]>

One Commentto I’d like a function under LL.getEvent() that returns the action that called the event.

  1. Anonymous says:

    < ![CDATA[

    I am not sure wether this is always possible but that’s a good suggestion. Moved to the TODO list.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *