Read the statement by Michael Teeuw here.
Touchscreen Modules
-
How to make a module for touchscreen??
I will be using a touchscreen lcd display, and I wish to make touch interactive modules, -
@yours.mukul look at the ones already made.
But basically you add an onclick event on text/graphics/divs to make them react to a touch (same thing as a click with the mouse, as the input is the same)
-
@yours.mukul look inside the touch news module for an example :)
-
I couldn’t see onclick anywhere in the touch news, can you please explain me how it uses touch??
P.S. I’m sorry if I sound too stupid. -
Coincidence!
I’m making one with touch gestures (multiple tapping, multiple touches, multi-finger swiping, multi-finger press holding…)
It could give an interface with human to modules like my other commander modules(Assistant, TelegramBot)
I hope I could release a few weeks later. -
title.addEventListener("click", () => showdesc(this)); //Show description on click
so it’s
elementname.addEventListener(“click”, () => function(data));
Google javascript onclick and eventlistener for more information
-
@Sean can’t wait…