I think this was suggested before, but maybe in the alpha so I want to ask again.
I think this was suggested before, but maybe in the alpha so I want to ask again.
How difficult will be to add a LL.getEvent().getName() that will just return a string with the name of the event where it was launched?
“Tap” “Long-press” “Swipe left” …
And also maybe “Lightning menu” “Item menu” and “Custom menu” too
]]>
< ![CDATA[
I recall asking for this too.. Upvoated!
]]>
< ![CDATA[
It will very probably be in the next version (a getSource() function, not getName())
]]>